blob: 913d06a336e0ae985a054e16fedac6da87b54ac8 [file]
import test.*
import test.SubClass.InnerStatic as ClassInnerStatic // No error - does not force supertype resolution for SubClass
import test.SubObject.InnerStatic // TODO report error - imports from object force resolution of its supertypes
fun test() {
SubClass().Inner() // Error - dispatch receiver misses supertype
SubClass.InnerStatic() // No error - does not force supertype resolution for SubClass
SubObject.InnerStatic() // TODO report error - for objects supertypes are resolved here
}