Move: Do not add package directive if target package is empty
#KT-6455 Fixed
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
class X {
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package a
|
||||
|
||||
class Y {
|
||||
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package a
|
||||
|
||||
class <caret>X {
|
||||
|
||||
}
|
||||
|
||||
class Y {
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"mainFile": "a/main.kt",
|
||||
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
|
||||
"targetPackage": ""
|
||||
}
|
||||
Reference in New Issue
Block a user