ffabe19229
The fqname of class should be clear from code Example: can't shorten A.Default.B.Default.C to A.B.C Also fixes problem when nested class of enum class could be accessed via enum entry
27 lines
333 B
Kotlin
27 lines
333 B
Kotlin
class A {
|
|
class Nested
|
|
inner class Inner
|
|
|
|
class object Named {
|
|
class Nested2
|
|
val c: Int = 1
|
|
object Obj2
|
|
|
|
fun foo() {
|
|
}
|
|
}
|
|
|
|
object Obj
|
|
}
|
|
|
|
fun some() {
|
|
A.<caret>
|
|
}
|
|
|
|
// EXIST: Nested
|
|
// EXIST: Named
|
|
// EXIST: c
|
|
// EXIST: foo
|
|
// EXIST: Obj
|
|
// ABSENT: Nested2
|
|
// ABSENT: Obj2 |