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
@@ -1,7 +0,0 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
val x = foo(
<caret>a,
b,
c
)
@@ -1,7 +0,0 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
<caret>a,
c
)
@@ -1,7 +0,0 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
<caret>a,
c
)
@@ -1,7 +0,0 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
c,
<caret>a
)
@@ -1,8 +0,0 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
// IS_APPLICABLE: false
val x = foo(
b,
c,
<caret>a
)
@@ -1,7 +0,0 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
c,
<caret>a
)
@@ -1,7 +0,0 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
<caret>a,
c
)
@@ -1,7 +0,0 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
val x = foo(
b,
<caret>a,
c
)
@@ -1,7 +0,0 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
val x = foo(
<caret>a,
b,
c
)
@@ -1,8 +0,0 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
// IS_APPLICABLE: false
val x = foo(
<caret>a,
b,
c
)
@@ -1,16 +0,0 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A {
fun foo<T,
U,
W>(
b:<caret> Int,
a: Int,
c: Int
) {
}
class B {
}
}
@@ -1,16 +0,0 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A {
fun foo<T,
U,
W>(
a: Int,
b:<caret> Int,
c: Int
) {
}
class B {
}
}
@@ -1,16 +0,0 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A {
fun foo<T,
U,
W>(
b: Int,
<caret>a: Int,
c: Int
) {
}
class B {
}
}
@@ -1,16 +0,0 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A {
fun foo<T,
U,
W>(
b: Int,
c: Int,
<caret>a: Int
) {
}
class B {
}
}
@@ -1,16 +0,0 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A {
fun foo<T,
U,
W>(
a: Int,
b:<caret> Int,
c: Int
) {
}
class B {
}
}
@@ -1,16 +0,0 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A {
fun foo<T,
U,
W>(
b:<caret> Int,
a: Int,
c: Int
) {
}
class B {
}
}
@@ -1,16 +0,0 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A {
fun foo<T,
U,
W>(
b: Int,
c: Int
<caret>a: Int,
) {
}
class B {
}
}
@@ -1,16 +0,0 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
class A {
fun foo<T,
U,
W>(
b: Int,
<caret>a: Int,
c: Int
) {
}
class B {
}
}
@@ -1,17 +0,0 @@
// MOVE: down
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
// IS_APPLICABLE: false
class A {
fun foo<T,
U,
W>(
b: Int,
c: Int
<caret>a: Int,
) {
}
class B {
}
}
@@ -1,17 +0,0 @@
// MOVE: up
// MOVER_CLASS: org.jetbrains.kotlin.idea.codeInsight.upDownMover.JetExpressionMover
// IS_APPLICABLE: false
class A {
fun foo<T,
U,
W>(
b: Int<caret>,
c: Int
a: Int,
) {
}
class B {
}
}