Rename: Disable Java member rename by reference to import alias

#KT-18076 Fixed
This commit is contained in:
Alexey Sedunov
2017-06-01 15:01:13 +03:00
parent 9c11c42ec2
commit 566e701131
7 changed files with 29 additions and 0 deletions
@@ -0,0 +1,3 @@
class Foo {
}
@@ -0,0 +1,5 @@
import Foo as Baz
fun test() {
val bar: Baz = Baz()
}
@@ -0,0 +1,3 @@
class Foo {
}
@@ -0,0 +1,5 @@
import Foo as Bar
fun test() {
val bar: /*rename*/Bar = Bar()
}
@@ -0,0 +1,5 @@
{
"type": "AUTO_DETECT",
"mainFile": "test.kt",
"newName": "Baz"
}