Move Statement: Fix comma placement for class parameter

#KT-6672 Fixed
This commit is contained in:
Alexey Sedunov
2015-01-28 12:42:07 +03:00
parent 6235741f7f
commit 2dbfd1fc4c
32 changed files with 93 additions and 72 deletions
@@ -0,0 +1,9 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A(
b:<caret> Int,
a: Int,
c: Int
) {
}
@@ -0,0 +1,9 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A(
a: Int,
b:<caret> Int,
c: Int
) {
}
@@ -0,0 +1,9 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A(
b: Int,
<caret>a: Int,
c: Int
) {
}
@@ -0,0 +1,9 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A(
b: Int,
c: Int,
<caret>a: Int
) {
}
@@ -0,0 +1,9 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A(
a: Int,
b:<caret> Int,
c: Int
) {
}
@@ -0,0 +1,9 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A(
b:<caret> Int,
a: Int,
c: Int
) {
}
@@ -0,0 +1,9 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A(
b: Int,
c: Int,
<caret>a: Int
) {
}
@@ -0,0 +1,9 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A(
b: Int,
<caret>a: Int,
c: Int
) {
}
@@ -0,0 +1,10 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
// IS_APPLICABLE: false
class A(
b: Int,
c: Int,
<caret>a: Int
) {
}
@@ -0,0 +1,10 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
// IS_APPLICABLE: false
class A(
<caret>b: Int,
c: Int,
a: Int
) {
}