Fix moving of value parameters and arguments

This commit is contained in:
Alexey Sedunov
2013-06-04 15:35:43 +04:00
parent a78822ddba
commit 7805ee01eb
16 changed files with 200 additions and 28 deletions
@@ -0,0 +1,7 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.jet.plugin.codeInsight.upDownMover.JetExpressionMover
val x = foo(
<caret>a,
b,
c
)
@@ -0,0 +1,7 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.jet.plugin.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
<caret>a,
c
)
@@ -0,0 +1,7 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.jet.plugin.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
<caret>a,
c
)
@@ -0,0 +1,7 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.jet.plugin.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
c,
<caret>a
)
@@ -0,0 +1,8 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.jet.plugin.codeInsight.upDownMover.JetExpressionMover
// IS_APPLICABLE: false
val x = foo(
b,
c,
<caret>a
)
@@ -0,0 +1,7 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.jet.plugin.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
c,
<caret>a
)
@@ -0,0 +1,7 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.jet.plugin.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
<caret>a,
c
)
@@ -0,0 +1,7 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.jet.plugin.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
<caret>a,
c
)
@@ -0,0 +1,7 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.jet.plugin.codeInsight.upDownMover.JetExpressionMover
val x = foo(
<caret>a,
b,
c
)
@@ -0,0 +1,8 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.jet.plugin.codeInsight.upDownMover.JetExpressionMover
// IS_APPLICABLE: false
val x = foo(
<caret>a,
b,
c
)
@@ -5,9 +5,9 @@ class A {
U,
W>(
b: Int,
c: Int
<caret>a: Int,
) {
c: Int,
<caret>a: Int
) {
}
class B {