import of members without additional bound to receiver descriptors

This commit is contained in:
svtk
2012-01-11 18:37:10 +04:00
parent cb2219e72d
commit 9902200e5e
17 changed files with 102 additions and 676 deletions
@@ -0,0 +1,15 @@
import A.B.foo
import A.B.x
class A() {
class object {
class B() {
class object {
val x = 1
fun foo() = "2"
}
}
}
}
fun box() = if (x == 1 && foo() == "2") "OK" else "fail"