Move: Fix incorrect FqName when moving declaration to default package

#KT-15586 Fixed
This commit is contained in:
Alexey Sedunov
2017-03-08 14:49:19 +03:00
parent 1331922963
commit 1a8aa6091a
6 changed files with 31 additions and 1 deletions
@@ -0,0 +1,6 @@
class a {
companion object b {
fun c() = "..."
}
fun d() = c()
}
@@ -0,0 +1,10 @@
class <caret>a {
companion object b {
fun c() = "..."
}
fun d() = c()
}
fun foo() {
}
@@ -0,0 +1,4 @@
{
"mainFile": "test.kt",
"intentionClass": "org.jetbrains.kotlin.idea.refactoring.move.moveDeclarations.MoveDeclarationToSeparateFileIntention"
}