还没了解过内联类(inline class)的能够看看官方文档 ... fun test(){ val foo2: Any = (B() as A).foo()Java println(foo2 is ICAny) }.
確定! 回上一頁