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