Allow moving out to arbitrary blocks and moving any declaration into class body

This commit is contained in:
Alexey Sedunov
2013-05-30 17:29:53 +04:00
parent b00ec82884
commit 57edbdfbc4
15 changed files with 55 additions and 16 deletions
@@ -1,7 +1,6 @@
// MOVE: down
// IS_APPLICABLE: false
fun foo() {
class B {
class A {
<caret>class B {
}
@@ -0,0 +1,8 @@
// MOVE: down
fun foo() {
class A {
}
<caret>class B {
}
}
@@ -1,7 +1,6 @@
// MOVE: up
// IS_APPLICABLE: false
fun foo() {
class B {
class A {
<caret>class B {
}
@@ -0,0 +1,8 @@
// MOVE: up
fun foo() {
<caret>class B {
}
class A {
}
}