Move: Do not add package directive if target package is empty

#KT-6455 Fixed
This commit is contained in:
Alexey Sedunov
2014-12-15 13:50:49 +03:00
parent da6e1890bd
commit bbbd46d9d6
6 changed files with 29 additions and 1 deletions
@@ -0,0 +1,9 @@
package a
class <caret>X {
}
class Y {
}
@@ -0,0 +1,5 @@
{
"mainFile": "a/main.kt",
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": ""
}