Move: Fix name lengthening when moving from default package
#KT-10696 Fixed
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
package target
|
||||
|
||||
class Extra {
|
||||
fun use() {
|
||||
val v = Extra().Intro()
|
||||
}
|
||||
inner class Intro {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class X {
|
||||
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
class <caret>Extra {
|
||||
fun use() {
|
||||
val v = Extra().Intro()
|
||||
}
|
||||
inner class Intro {}
|
||||
}
|
||||
|
||||
class X {
|
||||
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"mainFile": "test.kt",
|
||||
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
|
||||
"targetPackage": "target",
|
||||
"withRuntime": "true"
|
||||
}
|
||||
Reference in New Issue
Block a user