Files
kotlin-fork/idea/testData/intentions/introduceImportAlias/variable.kt
T
Dmitry Gridin 147521d6cb Add intention to introduce import alias
#KT-16118 Fixed
 #KT-30007 Fixed
2019-02-21 12:25:09 +03:00

21 lines
320 B
Kotlin
Vendored

import Outer.Middle
class Outer {
class Middle {
class Inner {
companion object {
const val SIZE = 1
}
}
}
}
class Test() {
fun test() {
val i = Middle.Inner.SIZE<caret>
}
fun test2() {
val i = Outer.Middle.Inner.SIZE
}
}