TrailingCommaPostFormatProcessor: should be completed in one round
#KT-34744
This commit is contained in:
+3
-9
@@ -3,9 +3,7 @@
|
||||
@Anno([1])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno([
|
||||
1,
|
||||
])
|
||||
@Anno([1])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno([1
|
||||
@@ -24,9 +22,7 @@ fun a() = Unit
|
||||
@Anno([1, 2])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno([
|
||||
1, 2,
|
||||
])
|
||||
@Anno([1, 2])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno([1, 2
|
||||
@@ -45,9 +41,7 @@ fun a() = Unit
|
||||
@Anno([1, 2, 2])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno([
|
||||
1, 2, 2,
|
||||
])
|
||||
@Anno([1, 2, 2])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno(["1"
|
||||
|
||||
+3
-15
@@ -3,11 +3,7 @@
|
||||
@Anno([1])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno(
|
||||
[
|
||||
1,
|
||||
],
|
||||
)
|
||||
@Anno([1])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno(
|
||||
@@ -34,11 +30,7 @@ fun a() = Unit
|
||||
@Anno([1, 2])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno(
|
||||
[
|
||||
1, 2,
|
||||
],
|
||||
)
|
||||
@Anno([1, 2])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno(
|
||||
@@ -65,11 +57,7 @@ fun a() = Unit
|
||||
@Anno([1, 2, 2])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno(
|
||||
[
|
||||
1, 2, 2,
|
||||
],
|
||||
)
|
||||
@Anno([1, 2, 2])
|
||||
fun a() = Unit
|
||||
|
||||
@Anno(
|
||||
|
||||
+5
-17
@@ -1,16 +1,10 @@
|
||||
// SET_TRUE: ALLOW_TRAILING_COMMA
|
||||
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
(
|
||||
x, y,
|
||||
), /* FIXME: The result should converge in one iteration */ z,
|
||||
->
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = { (x, y), z ->
|
||||
println(x)
|
||||
}
|
||||
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
(x, y), z,
|
||||
->
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = { (x, y), z ->
|
||||
println(x)
|
||||
}
|
||||
|
||||
@@ -52,15 +46,11 @@ val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
println(x)
|
||||
}
|
||||
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
(x, y), z,
|
||||
->
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = { (x, y), z ->
|
||||
println(x)
|
||||
}
|
||||
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
(x, y/**/), z,
|
||||
->
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = { (x, y/**/), z ->
|
||||
println(x)
|
||||
}
|
||||
|
||||
@@ -93,9 +83,7 @@ val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
}
|
||||
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
(
|
||||
x, y,
|
||||
),
|
||||
(x, y),
|
||||
z,
|
||||
->
|
||||
println(x)
|
||||
|
||||
+5
-17
@@ -1,16 +1,10 @@
|
||||
// SET_TRUE: ALLOW_TRAILING_COMMA
|
||||
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
(
|
||||
x, y,
|
||||
), /* FIXME: The result should converge in one iteration */ z,
|
||||
->
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = { (x, y), z ->
|
||||
println(x)
|
||||
}
|
||||
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
(x, y), z,
|
||||
->
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = { (x, y), z ->
|
||||
println(x)
|
||||
}
|
||||
|
||||
@@ -55,15 +49,11 @@ val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
println(x)
|
||||
}
|
||||
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
(x, y), z,
|
||||
->
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = { (x, y), z ->
|
||||
println(x)
|
||||
}
|
||||
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
(x, y/**/), z,
|
||||
->
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = { (x, y/**/), z ->
|
||||
println(x)
|
||||
}
|
||||
|
||||
@@ -105,9 +95,7 @@ val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
}
|
||||
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = {
|
||||
(
|
||||
x, y,
|
||||
),
|
||||
(x, y),
|
||||
z,
|
||||
->
|
||||
println(x)
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// SET_TRUE: ALLOW_TRAILING_COMMA
|
||||
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = { (x, y,), /* FIXME: The result should converge in one iteration */ z, ->
|
||||
val x: (Pair<Int, Int>, Int) -> Unit = { (x, y,), z, ->
|
||||
println(x)
|
||||
}
|
||||
|
||||
|
||||
Vendored
+14
-15
@@ -11,15 +11,22 @@ fun test() {
|
||||
2
|
||||
|
||||
|
||||
val (
|
||||
a, b,
|
||||
) = 1 to 2
|
||||
val (a, b) = 1 to 2
|
||||
|
||||
val (a) =
|
||||
b
|
||||
|
||||
val (
|
||||
a,
|
||||
) =
|
||||
b
|
||||
|
||||
val (a
|
||||
) =
|
||||
b
|
||||
|
||||
val (a) = b
|
||||
|
||||
val (
|
||||
a,
|
||||
) = b
|
||||
@@ -56,22 +63,14 @@ fun test() {
|
||||
to
|
||||
2
|
||||
|
||||
val (
|
||||
a, b,/**/
|
||||
) = 1 to 2
|
||||
val (a, b/**/) = 1 to 2
|
||||
|
||||
val (
|
||||
a,/**/ b,/**//**/
|
||||
) = 1 to 2
|
||||
val (a/**/, b/**//**/) = 1 to 2
|
||||
|
||||
val (
|
||||
a,/**//**/
|
||||
) =
|
||||
val (a/**//**/) =
|
||||
b
|
||||
|
||||
val (
|
||||
a,
|
||||
) = b
|
||||
val (a) = b
|
||||
|
||||
val (a, b/**/
|
||||
) = 1 to 2
|
||||
|
||||
Vendored
+15
-15
@@ -11,15 +11,23 @@ fun test() {
|
||||
2
|
||||
|
||||
|
||||
val (
|
||||
a, b,
|
||||
) = 1 to 2
|
||||
val (a, b) = 1 to 2
|
||||
|
||||
val (a) =
|
||||
b
|
||||
|
||||
val (
|
||||
a,
|
||||
) =
|
||||
b
|
||||
|
||||
val (
|
||||
a,
|
||||
) =
|
||||
b
|
||||
|
||||
val (a) = b
|
||||
|
||||
val (
|
||||
a,
|
||||
) = b
|
||||
@@ -60,22 +68,14 @@ fun test() {
|
||||
to
|
||||
2
|
||||
|
||||
val (
|
||||
a, b,/**/
|
||||
) = 1 to 2
|
||||
val (a, b/**/) = 1 to 2
|
||||
|
||||
val (
|
||||
a,/**/ b,/**//**/
|
||||
) = 1 to 2
|
||||
val (a/**/, b/**//**/) = 1 to 2
|
||||
|
||||
val (
|
||||
a,/**//**/
|
||||
) =
|
||||
val (a/**//**/) =
|
||||
b
|
||||
|
||||
val (
|
||||
a,
|
||||
) = b
|
||||
val (a) = b
|
||||
|
||||
val (
|
||||
a, b,/**/
|
||||
|
||||
+11
@@ -16,8 +16,19 @@ fun test() {
|
||||
val (a,) =
|
||||
b
|
||||
|
||||
val (a,
|
||||
) =
|
||||
b
|
||||
|
||||
val (a
|
||||
) =
|
||||
b
|
||||
|
||||
val (a,) = b
|
||||
|
||||
val (
|
||||
a,) = b
|
||||
|
||||
val (a, b
|
||||
) = 1 to 2
|
||||
|
||||
|
||||
@@ -25,23 +25,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"] }]
|
||||
|
||||
@@ -53,8 +48,12 @@ fun foo() {
|
||||
|
||||
useCallable[Callable { println["Hello world"] }]
|
||||
|
||||
useCallable[Callable { println["Hello world"] }]
|
||||
|
||||
useCallable[
|
||||
Callable { println["Hello world"] },
|
||||
Callable {
|
||||
println["Hello world"]
|
||||
},
|
||||
]
|
||||
|
||||
useCallable[Callable { println["Hello world"] }
|
||||
@@ -77,6 +76,8 @@ fun foo() {
|
||||
|
||||
useCallable[{ println["Hello world"] }]
|
||||
|
||||
useCallable[{ println["Hello world"] }]
|
||||
|
||||
useCallable[
|
||||
{ println["Hello world"] },
|
||||
]
|
||||
@@ -103,9 +104,7 @@ fun foo() {
|
||||
override fun call() {
|
||||
println["Hello world"]
|
||||
}
|
||||
}, foo[
|
||||
0,
|
||||
]]
|
||||
}, foo[0]]
|
||||
|
||||
useCallable[object : Callable<Unit> {
|
||||
override fun call() {
|
||||
@@ -174,9 +173,7 @@ fun foo() {
|
||||
foofoo
|
||||
]
|
||||
|
||||
testtest[
|
||||
foofoo,/**/
|
||||
]
|
||||
testtest[foofoo/**/]
|
||||
|
||||
testtest[foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -189,9 +186,7 @@ fun foo() {
|
||||
foofoo
|
||||
]
|
||||
|
||||
testtest[
|
||||
foofoo,/**/
|
||||
]
|
||||
testtest[foofoo/**/]
|
||||
|
||||
testtest[
|
||||
foofoo, fososos,/*
|
||||
@@ -199,26 +194,16 @@ 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[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,
|
||||
]], /*
|
||||
testtest[foofoo, seee, testtest[testtest[foofoo]], /*
|
||||
*/testsa]
|
||||
|
||||
useCallable["B", "C", Callable {
|
||||
|
||||
@@ -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,
|
||||
]
|
||||
|
||||
@@ -29,7 +29,8 @@ fun foo() {
|
||||
|
||||
testtest[foofoo, testtest[testtest[foofoo]]]
|
||||
|
||||
testtest[foofoo, fososos, testtest[testtest[foofoo]],]
|
||||
testtest[foofoo, fososos,
|
||||
testtest[testtest[foofoo]],]
|
||||
|
||||
testtest[foofoo, testtest[testtest[foofoo,]], testsa]
|
||||
|
||||
@@ -47,6 +48,9 @@ fun foo() {
|
||||
|
||||
useCallable[Callable { println["Hello world"] },]
|
||||
|
||||
useCallable[Callable {
|
||||
println["Hello world"] },]
|
||||
|
||||
useCallable[Callable { println["Hello world"] }
|
||||
]
|
||||
|
||||
@@ -69,6 +73,9 @@ fun foo() {
|
||||
|
||||
useCallable[{ println["Hello world"] },]
|
||||
|
||||
useCallable[{ println["Hello world"] }
|
||||
,]
|
||||
|
||||
useCallable[{ println["Hello world"] }
|
||||
]
|
||||
|
||||
|
||||
+1
-3
@@ -76,9 +76,7 @@ val x = { x: String
|
||||
println("1")
|
||||
}
|
||||
|
||||
val x = {
|
||||
x: String,
|
||||
->
|
||||
val x = { x: String ->
|
||||
println("1")
|
||||
}
|
||||
|
||||
|
||||
+1
-3
@@ -82,9 +82,7 @@ val x = {
|
||||
println("1")
|
||||
}
|
||||
|
||||
val x = {
|
||||
x: String,
|
||||
->
|
||||
val x = { x: String ->
|
||||
println("1")
|
||||
}
|
||||
|
||||
|
||||
+18
-27
@@ -35,23 +35,19 @@ fun foo() {
|
||||
foofoo
|
||||
>()
|
||||
|
||||
testtest<
|
||||
foofoo,
|
||||
>()
|
||||
testtest<foofoo>()
|
||||
|
||||
testtest<foofoo, testtest<testtest<foofoo>>>()
|
||||
|
||||
testtest<foofoo, fososos, testtest<testtest<foofoo>>>()
|
||||
|
||||
testtest<
|
||||
foofoo, fososos, 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, foofoo, foofoo, foofoo,
|
||||
@@ -84,9 +80,7 @@ fun foo() {
|
||||
foofoo
|
||||
>()
|
||||
|
||||
testtest<
|
||||
foofoo,/**/
|
||||
>()
|
||||
testtest<foofoo/**/>()
|
||||
|
||||
testtest<foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -99,6 +93,13 @@ fun foo() {
|
||||
foofoo
|
||||
>()
|
||||
|
||||
testtest<foofoo/**/>()
|
||||
|
||||
testtest<
|
||||
foofoo,/*
|
||||
*/
|
||||
>()
|
||||
|
||||
testtest<
|
||||
foofoo,/**/
|
||||
>()
|
||||
@@ -109,25 +110,15 @@ 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<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,
|
||||
>>, /*
|
||||
testtest<foofoo, seee, testtest<testtest<foofoo>>, /*
|
||||
*/testsa>()
|
||||
}
|
||||
+19
-63
@@ -41,35 +41,19 @@ fun foo() {
|
||||
foofoo,
|
||||
>()
|
||||
|
||||
testtest<
|
||||
foofoo,
|
||||
>()
|
||||
testtest<foofoo>()
|
||||
|
||||
testtest<foofoo, testtest<testtest<foofoo>>>()
|
||||
|
||||
testtest<foofoo, fososos, testtest<testtest<foofoo>>>()
|
||||
|
||||
testtest<
|
||||
foofoo, fososos, 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, foofoo, foofoo, foofoo,
|
||||
@@ -113,9 +97,7 @@ fun foo() {
|
||||
foofoo,
|
||||
>()
|
||||
|
||||
testtest<
|
||||
foofoo,/**/
|
||||
>()
|
||||
testtest<foofoo/**/>()
|
||||
|
||||
testtest<
|
||||
foofoo, foofoo, foofoo,
|
||||
@@ -133,6 +115,13 @@ fun foo() {
|
||||
foofoo,
|
||||
>()
|
||||
|
||||
testtest<foofoo/**/>()
|
||||
|
||||
testtest<
|
||||
foofoo,/*
|
||||
*/
|
||||
>()
|
||||
|
||||
testtest<
|
||||
foofoo,/**/
|
||||
>()
|
||||
@@ -143,54 +132,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,
|
||||
>()
|
||||
|
||||
@@ -39,6 +39,9 @@ fun foo() {
|
||||
|
||||
testtest<foofoo, fososos, testtest<testtest<foofoo>>,>()
|
||||
|
||||
testtest<foofoo, fososos, testtest<testtest<foofoo>>
|
||||
,>()
|
||||
|
||||
testtest<foofoo, testtest<testtest<foofoo,>>, testsa>()
|
||||
|
||||
testtest<foofoo, *, testtest<testtest<foofoo,>>, testsa>()
|
||||
@@ -89,6 +92,12 @@ fun foo() {
|
||||
|
||||
testtest<foofoo,/**/>()
|
||||
|
||||
testtest<foofoo,/*
|
||||
*/>()
|
||||
|
||||
testtest<
|
||||
foofoo,/**/>()
|
||||
|
||||
testtest<foofoo, fososos,/*
|
||||
*/ testtest<testtest<foofoo>>,>()
|
||||
|
||||
|
||||
+1
-3
@@ -193,9 +193,7 @@ fun <T> ag() {
|
||||
|
||||
}
|
||||
|
||||
fun <
|
||||
T,
|
||||
> ag() {
|
||||
fun <T> ag() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-3
@@ -197,9 +197,7 @@ fun <T> ag() {
|
||||
|
||||
}
|
||||
|
||||
fun <
|
||||
T,
|
||||
> ag() {
|
||||
fun <T> ag() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
+49
-61
@@ -26,28 +26,15 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
testtest(foofoo)
|
||||
|
||||
testtest(foofoo, testtest(testtest(foofoo)))
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
testtest(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") })
|
||||
|
||||
@@ -59,9 +46,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
@@ -83,9 +68,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
@@ -107,9 +90,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
@@ -208,9 +189,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -223,9 +202,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -233,39 +210,17 @@ 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,
|
||||
))/*
|
||||
*/,
|
||||
testsa)
|
||||
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,
|
||||
)), /*
|
||||
*/
|
||||
testsa)
|
||||
testtest(foofoo, seee, testtest(testtest(foofoo)), /*
|
||||
*/testsa)
|
||||
|
||||
useCallable("B", "C", Callable {
|
||||
println("Hello world")
|
||||
@@ -275,4 +230,37 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(foofoo, testtest(testtest(
|
||||
foofoo,
|
||||
)), testsa)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
|
||||
}
|
||||
+54
-81
@@ -32,36 +32,15 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
testtest(foofoo)
|
||||
|
||||
testtest(foofoo, testtest(testtest(foofoo)))
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
testtest(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") })
|
||||
|
||||
@@ -77,9 +56,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
@@ -107,9 +84,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
@@ -137,9 +112,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
@@ -267,9 +240,7 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo,
|
||||
@@ -287,9 +258,7 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -297,56 +266,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,
|
||||
)
|
||||
@@ -364,4 +298,43 @@ fun foo() {
|
||||
useCallable(
|
||||
Callable { println("Hello world") }, // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),
|
||||
testsa,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
|
||||
}
|
||||
+19
@@ -197,4 +197,23 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(object : Callable<Unit> { override fun call() { println("Hello world") }
|
||||
},)
|
||||
|
||||
useCallable(foo() { println("Hello world")
|
||||
},)
|
||||
|
||||
useCallable({
|
||||
println("Hello world") },)
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
,)
|
||||
|
||||
testtest(foofoo, testtest(testtest(
|
||||
foofoo,)), testsa)
|
||||
|
||||
testtest(foofoo, fososos, testtest(testtest(foofoo))
|
||||
,)
|
||||
|
||||
}
|
||||
+47
-42
@@ -26,23 +26,15 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
testtest(foofoo)
|
||||
|
||||
testtest(foofoo, testtest(testtest(foofoo)))
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
testtest(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") })
|
||||
|
||||
@@ -54,9 +46,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
@@ -78,9 +68,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
@@ -102,9 +90,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
@@ -203,9 +189,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -218,9 +202,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -228,26 +210,16 @@ 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(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,
|
||||
)), /*
|
||||
testtest(foofoo, seee, testtest(testtest(foofoo)), /*
|
||||
*/testsa)
|
||||
|
||||
useCallable("B", "C", Callable {
|
||||
@@ -258,4 +230,37 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(foofoo, testtest(testtest(
|
||||
foofoo,
|
||||
)), testsa)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
|
||||
}
|
||||
+54
-78
@@ -32,35 +32,15 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
testtest(foofoo)
|
||||
|
||||
testtest(foofoo, testtest(testtest(foofoo)))
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
testtest(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") })
|
||||
|
||||
@@ -76,9 +56,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
@@ -106,9 +84,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
@@ -136,9 +112,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
@@ -266,9 +240,7 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo,
|
||||
@@ -286,9 +258,7 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -296,54 +266,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,
|
||||
)
|
||||
@@ -361,4 +298,43 @@ fun foo() {
|
||||
useCallable(
|
||||
Callable { println("Hello world") }, // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),
|
||||
testsa,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
|
||||
}
|
||||
+19
@@ -197,4 +197,23 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(object : Callable<Unit> { override fun call() { println("Hello world") }
|
||||
},)
|
||||
|
||||
useCallable(foo() { println("Hello world")
|
||||
},)
|
||||
|
||||
useCallable({
|
||||
println("Hello world") },)
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
,)
|
||||
|
||||
testtest(foofoo, testtest(testtest(
|
||||
foofoo,)), testsa)
|
||||
|
||||
testtest(foofoo, fososos, testtest(testtest(foofoo))
|
||||
,)
|
||||
|
||||
}
|
||||
+50
-39
@@ -50,9 +50,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
testtest(foofoo)
|
||||
|
||||
testtest(foofoo,
|
||||
testtest(testtest(foofoo)))
|
||||
@@ -64,16 +62,12 @@ fun foo() {
|
||||
)
|
||||
|
||||
testtest(foofoo,
|
||||
testtest(testtest(
|
||||
foofoo,
|
||||
)),
|
||||
testtest(testtest(foofoo)),
|
||||
testsa)
|
||||
|
||||
testtest(foofoo,
|
||||
seee,
|
||||
testtest(testtest(
|
||||
foofoo,
|
||||
)),
|
||||
testtest(testtest(foofoo)),
|
||||
testsa)
|
||||
|
||||
useCallable("A",
|
||||
@@ -90,9 +84,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
@@ -118,9 +110,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
@@ -146,9 +136,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
@@ -270,9 +258,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo,
|
||||
foofoo,
|
||||
@@ -289,9 +275,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
@@ -301,36 +285,26 @@ fun foo() {
|
||||
)
|
||||
|
||||
testtest(foofoo,
|
||||
testtest(testtest(
|
||||
foofoo,
|
||||
)), /**/
|
||||
testtest(testtest(foofoo)), /**/
|
||||
testsa)
|
||||
|
||||
testtest(foofoo,
|
||||
testtest(testtest(
|
||||
foofoo,
|
||||
))/* */, /**/
|
||||
testtest(testtest(foofoo))/* */, /**/
|
||||
testsa)
|
||||
|
||||
testtest(foofoo,
|
||||
testtest(testtest(
|
||||
foofoo,
|
||||
))/*
|
||||
testtest(testtest(foofoo))/*
|
||||
*/,
|
||||
testsa)
|
||||
|
||||
testtest(foofoo,
|
||||
seee,
|
||||
testtest(testtest(
|
||||
foofoo,
|
||||
)), /**/
|
||||
testtest(testtest(foofoo)), /**/
|
||||
testsa)
|
||||
|
||||
testtest(foofoo,
|
||||
seee,
|
||||
testtest(testtest(
|
||||
foofoo,
|
||||
)), /*
|
||||
testtest(testtest(foofoo)), /*
|
||||
*/
|
||||
testsa)
|
||||
|
||||
@@ -345,4 +319,41 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(foofoo,
|
||||
testtest(testtest(
|
||||
foofoo,
|
||||
)),
|
||||
testsa)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
fososos,
|
||||
testtest(testtest(foofoo)),
|
||||
)
|
||||
|
||||
}
|
||||
+54
-53
@@ -56,9 +56,7 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
testtest(foofoo)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
@@ -73,22 +71,14 @@ fun foo() {
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),
|
||||
testtest(testtest(foofoo)),
|
||||
testsa,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
seee,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),
|
||||
testtest(testtest(foofoo)),
|
||||
testsa,
|
||||
)
|
||||
|
||||
@@ -110,9 +100,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
@@ -144,9 +132,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
@@ -178,9 +164,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
@@ -325,9 +309,7 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
@@ -347,9 +329,7 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
@@ -360,31 +340,19 @@ fun foo() {
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
), /**/
|
||||
testtest(testtest(foofoo)), /**/
|
||||
testsa,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),/* */ /**/
|
||||
testtest(testtest(foofoo)),/* */ /**/
|
||||
testsa,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),/*
|
||||
testtest(testtest(foofoo)),/*
|
||||
*/
|
||||
testsa,
|
||||
)
|
||||
@@ -392,22 +360,14 @@ fun foo() {
|
||||
testtest(
|
||||
foofoo,
|
||||
seee,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
), /**/
|
||||
testtest(testtest(foofoo)), /**/
|
||||
testsa,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
seee,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
), /*
|
||||
testtest(testtest(foofoo)), /*
|
||||
*/
|
||||
testsa,
|
||||
)
|
||||
@@ -426,4 +386,45 @@ fun foo() {
|
||||
useCallable(
|
||||
Callable { println("Hello world") }, // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),
|
||||
testsa,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
fososos,
|
||||
testtest(testtest(foofoo)),
|
||||
)
|
||||
|
||||
}
|
||||
+19
@@ -205,4 +205,23 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(object : Callable<Unit> { override fun call() { println("Hello world") }
|
||||
},)
|
||||
|
||||
useCallable(foo() { println("Hello world")
|
||||
},)
|
||||
|
||||
useCallable({
|
||||
println("Hello world") },)
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
,)
|
||||
|
||||
testtest(foofoo, testtest(testtest(
|
||||
foofoo,)), testsa)
|
||||
|
||||
testtest(foofoo, fososos, testtest(testtest(foofoo))
|
||||
,)
|
||||
|
||||
}
|
||||
+47
-42
@@ -26,23 +26,15 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
testtest(foofoo)
|
||||
|
||||
testtest(foofoo, testtest(testtest(foofoo)))
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
testtest(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") })
|
||||
|
||||
@@ -54,9 +46,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
@@ -78,9 +68,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
@@ -102,9 +90,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
@@ -203,9 +189,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -218,9 +202,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -228,26 +210,16 @@ 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(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,
|
||||
)), /*
|
||||
testtest(foofoo, seee, testtest(testtest(foofoo)), /*
|
||||
*/testsa)
|
||||
|
||||
useCallable("B", "C", Callable {
|
||||
@@ -258,4 +230,37 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(foofoo, testtest(testtest(
|
||||
foofoo,
|
||||
)), testsa)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
|
||||
}
|
||||
+54
-78
@@ -32,35 +32,15 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
testtest(foofoo)
|
||||
|
||||
testtest(foofoo, testtest(testtest(foofoo)))
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
testtest(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") })
|
||||
|
||||
@@ -76,9 +56,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
@@ -106,9 +84,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
@@ -136,9 +112,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
@@ -266,9 +240,7 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo,
|
||||
@@ -286,9 +258,7 @@ fun foo() {
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,/**/
|
||||
)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -296,54 +266,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,
|
||||
)
|
||||
@@ -361,4 +298,43 @@ fun foo() {
|
||||
useCallable(
|
||||
Callable { println("Hello world") }, // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),
|
||||
testsa,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
)
|
||||
|
||||
}
|
||||
+19
@@ -197,4 +197,23 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(object : Callable<Unit> { override fun call() { println("Hello world") }
|
||||
},)
|
||||
|
||||
useCallable(foo() { println("Hello world")
|
||||
},)
|
||||
|
||||
useCallable({
|
||||
println("Hello world") },)
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
,)
|
||||
|
||||
testtest(foofoo, testtest(testtest(
|
||||
foofoo,)), testsa)
|
||||
|
||||
testtest(foofoo, fososos, testtest(testtest(foofoo))
|
||||
,)
|
||||
|
||||
}
|
||||
+6
-6
@@ -17,6 +17,10 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (y: Comparable<Comparable<Number>>, z: Iterable<Iterable<Number>>) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>, z: Iterable<Iterable<Number>>,
|
||||
) -> Int = {
|
||||
@@ -27,9 +31,7 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>,
|
||||
) -> Int = {
|
||||
val x: (y: Comparable<Comparable<Number>>) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
@@ -69,9 +71,7 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>,/**/
|
||||
) -> Int = {
|
||||
val x: (y: Comparable<Comparable<Number>>/**/) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -17,6 +17,10 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (y: Comparable<Comparable<Number>>, z: Iterable<Iterable<Number>>) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>, z: Iterable<Iterable<Number>>,
|
||||
) -> Int = {
|
||||
@@ -27,9 +31,7 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>,
|
||||
) -> Int = {
|
||||
val x: (y: Comparable<Comparable<Number>>) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
@@ -73,9 +75,7 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>,/**/
|
||||
) -> Int = {
|
||||
val x: (y: Comparable<Comparable<Number>>/**/) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
|
||||
+5
@@ -21,6 +21,11 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (y: Comparable<Comparable<Number>>, z: Iterable<Iterable<Number>>,
|
||||
) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (y: Comparable<Comparable<Number>>) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
Vendored
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -306,15 +304,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -309,15 +307,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -306,15 +304,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -309,15 +307,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
+2
-6
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -315,9 +313,7 @@ val foo5: (Int) -> Int = fun(
|
||||
x
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
|
||||
+2
-6
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -316,9 +314,7 @@ val foo5: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
|
||||
Vendored
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -306,15 +304,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -309,15 +307,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,19 @@ fun foo(x: Any) = when (x) {
|
||||
|
||||
fun foo(x: Any) {
|
||||
when (x) {
|
||||
Comparable::class, Iterable::class, String::class, /*// trailing comma*/
|
||||
Comparable::class, Iterable::class, String::class /*// trailing comma*/ -> println(1)
|
||||
else -> println(3)
|
||||
}
|
||||
|
||||
when (x) {
|
||||
Comparable::class, Iterable::class,
|
||||
String::class /*// trailing comma*/ -> println(1)
|
||||
else -> println(3)
|
||||
}
|
||||
|
||||
when (x) {
|
||||
Comparable::class, Iterable::class,
|
||||
String::class, /*// trailing comma*/
|
||||
-> println(1)
|
||||
else -> println(3)
|
||||
}
|
||||
@@ -24,8 +36,7 @@ fun foo(x: Any) {
|
||||
}
|
||||
|
||||
when (x) {
|
||||
1,
|
||||
-> {
|
||||
1 -> {
|
||||
|
||||
}
|
||||
else -> println(3)
|
||||
|
||||
@@ -6,7 +6,20 @@ fun foo(x: Any) = when (x) {
|
||||
|
||||
fun foo(x: Any) {
|
||||
when (x) {
|
||||
Comparable::class, Iterable::class, String::class, /*// trailing comma*/
|
||||
Comparable::class, Iterable::class, String::class /*// trailing comma*/ -> println(1)
|
||||
else -> println(3)
|
||||
}
|
||||
|
||||
when (x) {
|
||||
Comparable::class, Iterable::class,
|
||||
String::class, /*// trailing comma*/
|
||||
-> println(1)
|
||||
else -> println(3)
|
||||
}
|
||||
|
||||
when (x) {
|
||||
Comparable::class, Iterable::class,
|
||||
String::class, /*// trailing comma*/
|
||||
-> println(1)
|
||||
else -> println(3)
|
||||
}
|
||||
@@ -24,8 +37,7 @@ fun foo(x: Any) {
|
||||
}
|
||||
|
||||
when (x) {
|
||||
1,
|
||||
-> {
|
||||
1 -> {
|
||||
|
||||
}
|
||||
else -> println(3)
|
||||
|
||||
@@ -6,7 +6,19 @@ fun foo(x: Any) = when (x) {
|
||||
|
||||
fun foo(x: Any) {
|
||||
when (x) {
|
||||
Comparable::class, Iterable::class, String::class, /*// trailing comma*/ -> println(1)
|
||||
Comparable::class, Iterable::class, String::class /*// trailing comma*/ -> println(1)
|
||||
else -> println(3)
|
||||
}
|
||||
|
||||
when (x) {
|
||||
Comparable::class, Iterable::class,
|
||||
String::class /*// trailing comma*/ -> println(1)
|
||||
else -> println(3)
|
||||
}
|
||||
|
||||
when (x) {
|
||||
Comparable::class, Iterable::class,
|
||||
String::class /*// trailing comma*/, -> println(1)
|
||||
else -> println(3)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user