JS: introduce new flat JS declaration structure
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class A
|
||||
|
||||
class B {
|
||||
val A.x: String
|
||||
get() = "OK"
|
||||
|
||||
fun result(a: A) = a.x
|
||||
}
|
||||
|
||||
fun box() = B().result(A())
|
||||
Reference in New Issue
Block a user