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,5 +1,4 @@
// MOVE: down
// IS_APPLICABLE: false
fun foo() {
class B {
<caret>val y = ""
@@ -0,0 +1,6 @@
// MOVE: down
fun foo() {
class B {
}
<caret>val y = ""
}
@@ -1,5 +1,4 @@
// MOVE: up
// IS_APPLICABLE: false
fun foo() {
class B {
<caret>val y = ""
@@ -0,0 +1,6 @@
// MOVE: up
fun foo() {
<caret>val y = ""
class B {
}
}