Properly load objects nested into class objects from Java

This commit is contained in:
Andrey Breslav
2013-06-07 17:47:40 +04:00
parent 56f040608a
commit 3e8031acbd
9 changed files with 76 additions and 11 deletions
@@ -14,7 +14,7 @@ package toplevelObjectDeclarations
}
}
object B : <!UNRESOLVED_REFERENCE!>A<!> {}
object B : <!SUPERTYPE_NOT_INITIALIZED, FINAL_SUPERTYPE!>A<!> {}
val x = A.foo()
@@ -26,4 +26,4 @@ package toplevelObjectDeclarations
override fun foo() : Int = 1
}
val z = y.foo()
val z = y.foo()
@@ -3,4 +3,4 @@ package toplevelObjectDeclarations
object CObj {}
object DOjb : <!UNRESOLVED_REFERENCE!>CObj<!> {}
object DOjb : <!SUPERTYPE_NOT_INITIALIZED, FINAL_SUPERTYPE!>CObj<!> {}