c4b4fa750c
#KT-1183 In Progress
30 lines
500 B
Kotlin
30 lines
500 B
Kotlin
class A {
|
|
class Nested
|
|
|
|
fun main() {
|
|
val x = ::Nested
|
|
val y = A::Nested
|
|
|
|
x : KFunction0<Nested>
|
|
y : KFunction0<Nested>
|
|
}
|
|
|
|
class object {
|
|
fun main() {
|
|
::<!UNRESOLVED_REFERENCE!>Nested<!> // KT-3261
|
|
val y = A::Nested
|
|
|
|
y : KFunction0<A.Nested>
|
|
}
|
|
}
|
|
}
|
|
|
|
class B {
|
|
fun main() {
|
|
::<!UNRESOLVED_REFERENCE!>Nested<!>
|
|
val y = A::Nested
|
|
|
|
y : KFunction0<A.Nested>
|
|
}
|
|
}
|