Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/kt4827.kt
T
Denis Zharkov a7fc32c8da Add diagnostic on calling inner classes constructors without receiver
Otherwise there will be just an unresolved reference that doesn't give
any useful information

 #KT-8959 Fixed
2017-03-01 09:59:01 +03:00

17 lines
240 B
Kotlin
Vendored

// KT-4827 UOE at PackageType.throwException()
// EA-53605
public interface TestInterface {
}
class C {
inner class I {
}
}
fun f() {
<!RESOLUTION_TO_CLASSIFIER!>TestInterface<!>()
C.<!RESOLUTION_TO_CLASSIFIER!>I<!>()
}