Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/expresssions/errCallable.kt
T
2020-03-19 09:51:01 +03:00

13 lines
231 B
Kotlin
Vendored

class Your {
class Nested
}
class My {
fun foo() {
val x = <!UNRESOLVED_REFERENCE!>::Nested<!> // Should be error
}
}
fun Your.foo() {
val x = <!UNRESOLVED_REFERENCE!>::Nested<!> // Still should be error
}