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