Move: Fix incorrect FqName when moving declaration to default package
#KT-15586 Fixed
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
class a {
|
||||
companion object b {
|
||||
fun c() = "..."
|
||||
}
|
||||
fun d() = c()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
class <caret>a {
|
||||
companion object b {
|
||||
fun c() = "..."
|
||||
}
|
||||
fun d() = c()
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"mainFile": "test.kt",
|
||||
"intentionClass": "org.jetbrains.kotlin.idea.refactoring.move.moveDeclarations.MoveDeclarationToSeparateFileIntention"
|
||||
}
|
||||
Reference in New Issue
Block a user