TrailingCommaPostFormatProcessor: should be completed in one round

#KT-34744
This commit is contained in:
Dmitry Gridin
2020-01-10 12:59:36 +07:00
parent 8a45d2eb58
commit 9511348497
48 changed files with 782 additions and 913 deletions
@@ -31,35 +31,18 @@ fun foo() {
foofoo,
]
testtest[
foofoo,
]
testtest[foofoo]
testtest[foofoo, testtest[testtest[foofoo]]]
testtest[
foofoo, fososos, testtest[testtest[foofoo]],
foofoo, fososos,
testtest[testtest[foofoo]],
]
testtest[
foofoo,
testtest[
testtest[
foofoo,
],
],
testsa,
]
testtest[foofoo, testtest[testtest[foofoo]], testsa]
testtest[
foofoo, seee,
testtest[
testtest[
foofoo,
],
],
testsa,
]
testtest[foofoo, seee, testtest[testtest[foofoo]], testsa]
useCallable["A", Callable { println["Hello world"] }]
@@ -75,8 +58,12 @@ fun foo() {
useCallable[Callable { println["Hello world"] }]
useCallable[Callable { println["Hello world"] }]
useCallable[
Callable { println["Hello world"] },
Callable {
println["Hello world"]
},
]
useCallable[
@@ -105,6 +92,8 @@ fun foo() {
useCallable[{ println["Hello world"] }]
useCallable[{ println["Hello world"] }]
useCallable[
{ println["Hello world"] },
]
@@ -142,9 +131,7 @@ fun foo() {
println["Hello world"]
}
},
foo[
0,
],
foo[0],
]
useCallable[
@@ -231,9 +218,7 @@ fun foo() {
foofoo,
]
testtest[
foofoo,/**/
]
testtest[foofoo/**/]
testtest[
foofoo, foofoo, foofoo,
@@ -251,9 +236,7 @@ fun foo() {
foofoo,
]
testtest[
foofoo,/**/
]
testtest[foofoo/**/]
testtest[
foofoo, fososos,/*
@@ -261,54 +244,21 @@ fun foo() {
testtest[testtest[foofoo]],
]
testtest[
foofoo,
testtest[
testtest[
foofoo,
],
], /**/
testsa,
]
testtest[foofoo, testtest[testtest[foofoo]], /**/testsa]
testtest[foofoo, testtest[testtest[foofoo]]/* */, /**/testsa]
testtest[
foofoo,
testtest[
testtest[
foofoo,
],
],/* */ /**/
testsa,
]
testtest[
foofoo,
testtest[
testtest[
foofoo,
],
],/*
testtest[testtest[foofoo]],/*
*/
testsa,
]
testtest[
foofoo, seee,
testtest[
testtest[
foofoo,
],
], /**/
testsa,
]
testtest[foofoo, seee, testtest[testtest[foofoo]], /**/testsa]
testtest[
foofoo, seee,
testtest[
testtest[
foofoo,
],
], /*
foofoo, seee, testtest[testtest[foofoo]], /*
*/
testsa,
]