Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/expresssions/errCallable.kt
T

14 lines
232 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
}