Add intention to introduce import alias

#KT-16118 Fixed
 #KT-30007 Fixed
This commit is contained in:
Dmitry Gridin
2019-02-21 10:38:43 +03:00
parent 6bf119b262
commit 147521d6cb
94 changed files with 893 additions and 4 deletions
@@ -0,0 +1,23 @@
import Outer.Middle.Inner
import Outer.Middle.Inner.Companion.foo
class Outer {
class Middle {
class Inner {
companion object {
fun foo() {}
fun foo(a: Outer) {}
}
}
}
}
class Test() {
fun test() {
val i = Inner.foo<caret>()
}
fun test2() {
val i = Outer.Middle.Inner.foo(Outer())
}
}