Fix local conflicts in 'Introduce import alias'
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import Outer.Middle.Inner.Companion.foo
|
||||
|
||||
class Outer {
|
||||
class Middle {
|
||||
class Inner {
|
||||
companion object {
|
||||
fun foo() {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Test() {
|
||||
fun test2() {
|
||||
val foo2 = 42
|
||||
foo()
|
||||
}
|
||||
fun test() {
|
||||
val foo1 = 1
|
||||
foo<caret>()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
import Outer.Middle.Inner.Companion.foo as foo3
|
||||
|
||||
class Outer {
|
||||
class Middle {
|
||||
class Inner {
|
||||
companion object {
|
||||
fun foo() {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Test() {
|
||||
fun test2() {
|
||||
val foo2 = 42
|
||||
foo3()
|
||||
}
|
||||
fun test() {
|
||||
val foo1 = 1
|
||||
foo3()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user