Rename: Fix rename of import alias referring to object member
#KT-18096 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import Foo.foo as baz
|
||||
|
||||
object Foo {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
baz()
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
import Foo.foo as bar
|
||||
|
||||
object Foo {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
/*rename*/bar()
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"type": "AUTO_DETECT",
|
||||
"mainFile": "test.kt",
|
||||
"newName": "baz"
|
||||
}
|
||||
Reference in New Issue
Block a user