Move: Fix name lengthening when moving from default package

#KT-10696 Fixed
This commit is contained in:
Alexey Sedunov
2016-01-26 21:20:41 +03:00
parent d92bfd20d7
commit a05a16c1e6
6 changed files with 39 additions and 2 deletions
@@ -0,0 +1,8 @@
package target
class Extra {
fun use() {
val v = Extra().Intro()
}
inner class Intro {}
}
@@ -0,0 +1,10 @@
class <caret>Extra {
fun use() {
val v = Extra().Intro()
}
inner class Intro {}
}
class X {
}
@@ -0,0 +1,6 @@
{
"mainFile": "test.kt",
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": "target",
"withRuntime": "true"
}