Move call-site trailing comma to registry
#KT-34744
This commit is contained in:
+23
-25
@@ -26,15 +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") })
|
||||
|
||||
@@ -46,7 +46,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
useCallable(Callable { println("Hello world") }, )
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
@@ -68,7 +68,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
useCallable({ println("Hello world") }, )
|
||||
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
@@ -90,7 +90,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
useCallable(foo() { println("Hello world") }, )
|
||||
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
@@ -128,13 +128,11 @@ fun foo() {
|
||||
}
|
||||
})
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, )
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
@@ -189,7 +187,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -202,7 +200,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -210,16 +208,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 {
|
||||
@@ -267,9 +265,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
)
|
||||
}
|
||||
|
||||
+129
-205
@@ -2,64 +2,53 @@
|
||||
// SET_TRUE: ALLOW_TRAILING_COMMA
|
||||
|
||||
fun foo() {
|
||||
testtest(foofoo, foofoo, foofoo,
|
||||
foofoo, bar)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo,
|
||||
foofoo, bar,
|
||||
foofoo, foofoo, foofoo, foofoo, bar
|
||||
)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar
|
||||
)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo,
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar,
|
||||
)
|
||||
foofoo)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar,
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
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") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", Callable {
|
||||
println("Hello world")
|
||||
}, Callable {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
useCallable(Callable { println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable(Callable { println("Hello world") }) {
|
||||
@@ -67,27 +56,21 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
Callable { println("Hello world") })
|
||||
|
||||
useCallable("A", { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", {
|
||||
println("Hello world")
|
||||
}, {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
useCallable({ println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable({ println("Hello world") }) {
|
||||
@@ -95,27 +78,21 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
{ println("Hello world") })
|
||||
|
||||
useCallable("A", foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", foo() {
|
||||
println("Hello world")
|
||||
}, foo() {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
useCallable(foo() { println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable(foo() { println("Hello world") }) {
|
||||
@@ -123,70 +100,52 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
foo() { println("Hello world") })
|
||||
|
||||
useCallable("A", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable("A", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable("B", "C", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, foo() {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, )
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
) {
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}) {
|
||||
|
||||
}
|
||||
|
||||
@@ -195,70 +154,53 @@ fun foo() {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar, /*
|
||||
*/ /* */
|
||||
foo,
|
||||
bar /*
|
||||
*/, /* */ foo
|
||||
)
|
||||
|
||||
testtest(
|
||||
/*
|
||||
*/
|
||||
foofoo, foofoo, foofoo, /*
|
||||
testtest(/*
|
||||
*/foofoo, foofoo, foofoo, /*
|
||||
|
||||
*/
|
||||
foofoo, bar,
|
||||
foofoo, bar)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar/*
|
||||
*/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar // awdawda
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar,/*
|
||||
*/
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar, // awdawda
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, /*
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, /*
|
||||
|
||||
*/
|
||||
bar,
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, // fd
|
||||
testtest(foofoo // fd
|
||||
)
|
||||
|
||||
testtest(
|
||||
/**/
|
||||
foofoo,
|
||||
testtest( /**/
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo,
|
||||
foofoo,/*
|
||||
*/ /* */
|
||||
bar,
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, // fd
|
||||
testtest(foofoo // fd
|
||||
)
|
||||
|
||||
testtest(
|
||||
/**/
|
||||
foofoo,
|
||||
testtest( /**/
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -266,37 +208,25 @@ 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")
|
||||
}, /* */
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", Callable {
|
||||
println("Hello world")
|
||||
}, /* */ Callable {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") }, // ffd
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
@@ -323,15 +253,9 @@ fun foo() {
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(
|
||||
testtest(foofoo, testtest(testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),
|
||||
testsa,
|
||||
)
|
||||
)), testsa)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
@@ -341,9 +265,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
)
|
||||
}
|
||||
|
||||
+23
-25
@@ -26,15 +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") })
|
||||
|
||||
@@ -46,7 +46,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
useCallable(Callable { println("Hello world") }, )
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
@@ -68,7 +68,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
useCallable({ println("Hello world") }, )
|
||||
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
@@ -90,7 +90,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
useCallable(foo() { println("Hello world") }, )
|
||||
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
@@ -128,13 +128,11 @@ fun foo() {
|
||||
}
|
||||
})
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, )
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
@@ -189,7 +187,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -202,7 +200,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -210,16 +208,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 {
|
||||
@@ -267,9 +265,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
)
|
||||
}
|
||||
|
||||
+129
-205
@@ -2,64 +2,53 @@
|
||||
// SET_TRUE: ALLOW_TRAILING_COMMA
|
||||
|
||||
fun foo() {
|
||||
testtest(foofoo, foofoo, foofoo,
|
||||
foofoo, bar)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo,
|
||||
foofoo, bar,
|
||||
foofoo, foofoo, foofoo, foofoo, bar
|
||||
)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar
|
||||
)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo,
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar,
|
||||
)
|
||||
foofoo)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar,
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
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") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", Callable {
|
||||
println("Hello world")
|
||||
}, Callable {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
useCallable(Callable { println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable(Callable { println("Hello world") }) {
|
||||
@@ -67,27 +56,21 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
Callable { println("Hello world") })
|
||||
|
||||
useCallable("A", { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", {
|
||||
println("Hello world")
|
||||
}, {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
useCallable({ println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable({ println("Hello world") }) {
|
||||
@@ -95,27 +78,21 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
{ println("Hello world") })
|
||||
|
||||
useCallable("A", foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", foo() {
|
||||
println("Hello world")
|
||||
}, foo() {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
useCallable(foo() { println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable(foo() { println("Hello world") }) {
|
||||
@@ -123,70 +100,52 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
foo() { println("Hello world") })
|
||||
|
||||
useCallable("A", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable("A", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable("B", "C", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, foo() {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, )
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
) {
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}) {
|
||||
|
||||
}
|
||||
|
||||
@@ -195,70 +154,53 @@ fun foo() {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar, /*
|
||||
*/ /* */
|
||||
foo,
|
||||
bar /*
|
||||
*/, /* */ foo
|
||||
)
|
||||
|
||||
testtest(
|
||||
/*
|
||||
*/
|
||||
foofoo, foofoo, foofoo, /*
|
||||
testtest(/*
|
||||
*/foofoo, foofoo, foofoo, /*
|
||||
|
||||
*/
|
||||
foofoo, bar,
|
||||
foofoo, bar)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar/*
|
||||
*/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar // awdawda
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar,/*
|
||||
*/
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar, // awdawda
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, /*
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, /*
|
||||
|
||||
*/
|
||||
bar,
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, // fd
|
||||
testtest(foofoo // fd
|
||||
)
|
||||
|
||||
testtest(
|
||||
/**/
|
||||
foofoo,
|
||||
testtest( /**/
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo,
|
||||
foofoo,/*
|
||||
*/ /* */
|
||||
bar,
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, // fd
|
||||
testtest(foofoo // fd
|
||||
)
|
||||
|
||||
testtest(
|
||||
/**/
|
||||
foofoo,
|
||||
testtest( /**/
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -266,37 +208,25 @@ 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")
|
||||
}, /* */
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", Callable {
|
||||
println("Hello world")
|
||||
}, /* */ Callable {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") }, // ffd
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
@@ -323,15 +253,9 @@ fun foo() {
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(
|
||||
testtest(foofoo, testtest(testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),
|
||||
testsa,
|
||||
)
|
||||
)), testsa)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
@@ -341,9 +265,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
)
|
||||
}
|
||||
|
||||
+25
-29
@@ -50,24 +50,22 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo)
|
||||
testtest(foofoo, )
|
||||
|
||||
testtest(foofoo,
|
||||
testtest(testtest(foofoo)))
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(foofoo,
|
||||
fososos,
|
||||
testtest(testtest(foofoo)),
|
||||
)
|
||||
testtest(testtest(foofoo)), )
|
||||
|
||||
testtest(foofoo,
|
||||
testtest(testtest(foofoo)),
|
||||
testtest(testtest(foofoo, )),
|
||||
testsa)
|
||||
|
||||
testtest(foofoo,
|
||||
seee,
|
||||
testtest(testtest(foofoo)),
|
||||
testtest(testtest(foofoo, )),
|
||||
testsa)
|
||||
|
||||
useCallable("A",
|
||||
@@ -84,7 +82,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
useCallable(Callable { println("Hello world") }, )
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
@@ -110,7 +108,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
useCallable({ println("Hello world") }, )
|
||||
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
@@ -136,7 +134,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
useCallable(foo() { println("Hello world") }, )
|
||||
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
@@ -179,13 +177,11 @@ fun foo() {
|
||||
}
|
||||
})
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, )
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
@@ -258,7 +254,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(foofoo,
|
||||
foofoo,
|
||||
@@ -275,7 +271,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
@@ -285,26 +281,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)
|
||||
|
||||
@@ -360,9 +356,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
+150
-225
@@ -12,98 +12,79 @@ fun foo() {
|
||||
testsa,
|
||||
)
|
||||
|
||||
testtest(foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar,
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar,
|
||||
)
|
||||
foofoo)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar,
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar,
|
||||
)
|
||||
testtest(foofoo, )
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
testtest(foofoo,
|
||||
testtest(testtest(foofoo)))
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(foofoo)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(testtest(foofoo)),
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(foofoo,
|
||||
fososos,
|
||||
testtest(testtest(foofoo)),
|
||||
)
|
||||
testtest(testtest(foofoo)), )
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(testtest(foofoo)),
|
||||
testsa,
|
||||
)
|
||||
testtest(foofoo,
|
||||
testtest(testtest(foofoo, )),
|
||||
testsa)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(foofoo,
|
||||
seee,
|
||||
testtest(testtest(foofoo)),
|
||||
testsa,
|
||||
)
|
||||
testtest(testtest(foofoo, )),
|
||||
testsa)
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
useCallable("A",
|
||||
Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B",
|
||||
useCallable("B",
|
||||
"C",
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
useCallable(Callable { println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable(Callable { println("Hello world") }) {
|
||||
@@ -111,31 +92,25 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
{ println("Hello world") },
|
||||
)
|
||||
useCallable("A",
|
||||
{ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B",
|
||||
useCallable("B",
|
||||
"C",
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
useCallable({ println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable({ println("Hello world") }) {
|
||||
@@ -143,31 +118,25 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
{ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
useCallable("A",
|
||||
foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B",
|
||||
useCallable("B",
|
||||
"C",
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
useCallable(foo() { println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable(foo() { println("Hello world") }) {
|
||||
@@ -175,29 +144,23 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
useCallable("A",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
useCallable("A",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
useCallable(
|
||||
"B",
|
||||
useCallable("B",
|
||||
"C",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
@@ -206,40 +169,32 @@ fun foo() {
|
||||
},
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
})
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, )
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
) {
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}) {
|
||||
|
||||
}
|
||||
|
||||
@@ -248,88 +203,75 @@ fun foo() {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar, /*
|
||||
*/ /* */
|
||||
foo,
|
||||
bar /*
|
||||
*/, /* */
|
||||
foo
|
||||
)
|
||||
|
||||
testtest(
|
||||
/*
|
||||
*/
|
||||
foofoo,
|
||||
testtest(/*
|
||||
*/foofoo,
|
||||
foofoo,
|
||||
foofoo, /*
|
||||
|
||||
*/
|
||||
foofoo,
|
||||
bar,
|
||||
bar)
|
||||
|
||||
testtest(foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar/*
|
||||
*/)
|
||||
|
||||
testtest(foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar // awdawda
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar,/*
|
||||
*/
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
bar, // awdawda
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo, /*
|
||||
|
||||
*/
|
||||
bar,
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, // fd
|
||||
testtest(foofoo // fd
|
||||
)
|
||||
|
||||
testtest(
|
||||
/**/
|
||||
foofoo,
|
||||
testtest( /**/
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
testtest(foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,
|
||||
foofoo,/*
|
||||
*/ /* */
|
||||
bar,
|
||||
foofoo/*
|
||||
*/, /* */
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, // fd
|
||||
testtest(foofoo // fd
|
||||
)
|
||||
|
||||
testtest(
|
||||
/**/
|
||||
foofoo,
|
||||
testtest( /**/
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
@@ -338,53 +280,40 @@ 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,
|
||||
testtest(foofoo,
|
||||
seee,
|
||||
testtest(testtest(foofoo)), /**/
|
||||
testsa,
|
||||
)
|
||||
testtest(testtest(foofoo, )), /**/
|
||||
testsa)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(foofoo,
|
||||
seee,
|
||||
testtest(testtest(foofoo)), /*
|
||||
testtest(testtest(foofoo, )), /*
|
||||
*/
|
||||
testsa,
|
||||
)
|
||||
testsa)
|
||||
|
||||
useCallable(
|
||||
"B",
|
||||
useCallable("B",
|
||||
"C",
|
||||
Callable {
|
||||
println("Hello world")
|
||||
}, /* */
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") }, // ffd
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
@@ -411,15 +340,11 @@ fun foo() {
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),
|
||||
testsa,
|
||||
)
|
||||
testtest(foofoo,
|
||||
testtest(testtest(
|
||||
foofoo,
|
||||
)),
|
||||
testsa)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
@@ -431,9 +356,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
+23
-25
@@ -26,15 +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") })
|
||||
|
||||
@@ -46,7 +46,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
useCallable(Callable { println("Hello world") }, )
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
@@ -68,7 +68,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
useCallable({ println("Hello world") }, )
|
||||
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
@@ -90,7 +90,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
useCallable(foo() { println("Hello world") }, )
|
||||
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
@@ -128,13 +128,11 @@ fun foo() {
|
||||
}
|
||||
})
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, )
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
@@ -189,7 +187,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -202,7 +200,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -210,16 +208,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 {
|
||||
@@ -267,9 +265,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
)
|
||||
}
|
||||
|
||||
+129
-205
@@ -2,64 +2,53 @@
|
||||
// SET_TRUE: ALLOW_TRAILING_COMMA
|
||||
|
||||
fun foo() {
|
||||
testtest(foofoo, foofoo, foofoo,
|
||||
foofoo, bar)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo,
|
||||
foofoo, bar,
|
||||
foofoo, foofoo, foofoo, foofoo, bar
|
||||
)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar
|
||||
)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo,
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar,
|
||||
)
|
||||
foofoo)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar,
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
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") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", Callable {
|
||||
println("Hello world")
|
||||
}, Callable {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
useCallable(Callable { println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable(Callable { println("Hello world") }) {
|
||||
@@ -67,27 +56,21 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
Callable { println("Hello world") })
|
||||
|
||||
useCallable("A", { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", {
|
||||
println("Hello world")
|
||||
}, {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
useCallable({ println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable({ println("Hello world") }) {
|
||||
@@ -95,27 +78,21 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
{ println("Hello world") })
|
||||
|
||||
useCallable("A", foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", foo() {
|
||||
println("Hello world")
|
||||
}, foo() {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
useCallable(foo() { println("Hello world") }, )
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable(foo() { println("Hello world") }) {
|
||||
@@ -123,70 +100,52 @@ fun foo() {
|
||||
}
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
foo() { println("Hello world") })
|
||||
|
||||
useCallable("A", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable("A", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable("B", "C", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, foo() {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, )
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
) {
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}) {
|
||||
|
||||
}
|
||||
|
||||
@@ -195,70 +154,53 @@ fun foo() {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar, /*
|
||||
*/ /* */
|
||||
foo,
|
||||
bar /*
|
||||
*/, /* */ foo
|
||||
)
|
||||
|
||||
testtest(
|
||||
/*
|
||||
*/
|
||||
foofoo, foofoo, foofoo, /*
|
||||
testtest(/*
|
||||
*/foofoo, foofoo, foofoo, /*
|
||||
|
||||
*/
|
||||
foofoo, bar,
|
||||
foofoo, bar)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar/*
|
||||
*/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar // awdawda
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar,/*
|
||||
*/
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar, // awdawda
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, /*
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, /*
|
||||
|
||||
*/
|
||||
bar,
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, // fd
|
||||
testtest(foofoo // fd
|
||||
)
|
||||
|
||||
testtest(
|
||||
/**/
|
||||
foofoo,
|
||||
testtest( /**/
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo,
|
||||
foofoo,/*
|
||||
*/ /* */
|
||||
bar,
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, // fd
|
||||
testtest(foofoo // fd
|
||||
)
|
||||
|
||||
testtest(
|
||||
/**/
|
||||
foofoo,
|
||||
testtest( /**/
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
testtest(foofoo,/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -266,37 +208,25 @@ 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")
|
||||
}, /* */
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
useCallable("B", "C", Callable {
|
||||
println("Hello world")
|
||||
}, /* */ Callable {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") }, // ffd
|
||||
useCallable(Callable { println("Hello world") } // ffd
|
||||
)
|
||||
|
||||
useCallable(
|
||||
@@ -323,15 +253,9 @@ fun foo() {
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
testtest(
|
||||
testtest(foofoo, testtest(testtest(
|
||||
foofoo,
|
||||
testtest(
|
||||
testtest(
|
||||
foofoo,
|
||||
),
|
||||
),
|
||||
testsa,
|
||||
)
|
||||
)), testsa)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos, testtest(testtest(foofoo)),
|
||||
@@ -341,9 +265,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
)
|
||||
}
|
||||
|
||||
Vendored
+275
@@ -0,0 +1,275 @@
|
||||
// SET_INT: CALL_PARAMETERS_WRAP = 1
|
||||
// SET_TRUE: ALLOW_TRAILING_COMMA
|
||||
|
||||
fun foo() {
|
||||
testtest(foofoo, foofoo, foofoo,
|
||||
foofoo, bar)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar
|
||||
)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar
|
||||
)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo,
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(foofoo
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo)
|
||||
|
||||
testtest(
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo)
|
||||
|
||||
testtest(foofoo, testtest(testtest(foofoo)))
|
||||
|
||||
testtest(foofoo, fososos, testtest(testtest(foofoo)))
|
||||
|
||||
testtest(foofoo, testtest(testtest(foofoo)), testsa)
|
||||
|
||||
testtest(foofoo, seee, testtest(testtest(foofoo)), testsa)
|
||||
|
||||
useCallable("A", Callable { println("Hello world") })
|
||||
|
||||
useCallable("B", "C", Callable {
|
||||
println("Hello world")
|
||||
}, Callable {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable(Callable { println("Hello world") }) {
|
||||
|
||||
}
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") })
|
||||
|
||||
useCallable("A", { println("Hello world") })
|
||||
|
||||
useCallable("B", "C", {
|
||||
println("Hello world")
|
||||
}, {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable({ println("Hello world") }) {
|
||||
|
||||
}
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") })
|
||||
|
||||
useCallable("A", foo() { println("Hello world") })
|
||||
|
||||
useCallable("B", "C", foo() {
|
||||
println("Hello world")
|
||||
}, foo() {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
|
||||
useCallable(foo() { println("Hello world") }) {
|
||||
|
||||
}
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") })
|
||||
|
||||
useCallable("A", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable("A", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable("B", "C", object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}, foo() {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
useCallable(object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
}) {
|
||||
|
||||
}
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
})
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar /*
|
||||
*/, /* */ foo
|
||||
)
|
||||
|
||||
testtest(/*
|
||||
*/foofoo, foofoo, foofoo, /*
|
||||
|
||||
*/
|
||||
foofoo, bar)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar/*
|
||||
*/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, bar // awdawda
|
||||
)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo, /*
|
||||
|
||||
*/
|
||||
bar
|
||||
)
|
||||
|
||||
testtest(foofoo // fd
|
||||
)
|
||||
|
||||
testtest( /**/
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
)
|
||||
|
||||
testtest(foofoo // fd
|
||||
)
|
||||
|
||||
testtest( /**/
|
||||
foofoo
|
||||
)
|
||||
|
||||
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, seee, testtest(testtest(foofoo)), /**/testsa)
|
||||
|
||||
testtest(foofoo, seee, testtest(testtest(foofoo)), /*
|
||||
*/testsa)
|
||||
|
||||
useCallable("B", "C", Callable {
|
||||
println("Hello world")
|
||||
}, /* */ Callable {
|
||||
println("Hello world")
|
||||
})
|
||||
|
||||
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)),
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
)
|
||||
}
|
||||
Vendored
+349
@@ -0,0 +1,349 @@
|
||||
// SET_INT: CALL_PARAMETERS_WRAP = 1
|
||||
// SET_TRUE: ALLOW_TRAILING_COMMA
|
||||
|
||||
fun foo() {
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo,
|
||||
foofoo, bar,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(foofoo)
|
||||
|
||||
testtest(foofoo, testtest(testtest(foofoo)))
|
||||
|
||||
testtest(foofoo, fososos, testtest(testtest(foofoo)))
|
||||
|
||||
testtest(foofoo, testtest(testtest(foofoo)), testsa)
|
||||
|
||||
testtest(foofoo, seee, testtest(testtest(foofoo)), testsa)
|
||||
|
||||
useCallable("A", Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
useCallable(Callable { println("Hello world") }) {
|
||||
|
||||
}
|
||||
|
||||
useCallable(
|
||||
Callable { println("Hello world") },
|
||||
)
|
||||
|
||||
useCallable("A", { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
{
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
|
||||
useCallable({ println("Hello world") }) {
|
||||
|
||||
}
|
||||
|
||||
useCallable(
|
||||
{ println("Hello world") },
|
||||
)
|
||||
|
||||
useCallable("A", foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
|
||||
useCallable(foo() { println("Hello world") }) {
|
||||
|
||||
}
|
||||
|
||||
useCallable(
|
||||
foo() { println("Hello world") },
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"A",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
foo() {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
) {
|
||||
|
||||
}
|
||||
|
||||
useCallable(
|
||||
object : Callable<Unit> {
|
||||
override fun call() {
|
||||
println("Hello world")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar, /*
|
||||
*/ /* */
|
||||
foo,
|
||||
)
|
||||
|
||||
testtest(
|
||||
/*
|
||||
*/
|
||||
foofoo, foofoo, foofoo, /*
|
||||
|
||||
*/
|
||||
foofoo, bar,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo,
|
||||
bar,/*
|
||||
*/
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, bar, // awdawda
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo, foofoo, /*
|
||||
|
||||
*/
|
||||
bar,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, // fd
|
||||
)
|
||||
|
||||
testtest(
|
||||
/**/
|
||||
foofoo,
|
||||
)
|
||||
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, foofoo, foofoo,
|
||||
foofoo,/*
|
||||
*/ /* */
|
||||
bar,
|
||||
)
|
||||
|
||||
testtest(
|
||||
foofoo, // fd
|
||||
)
|
||||
|
||||
testtest(
|
||||
/**/
|
||||
foofoo,
|
||||
)
|
||||
|
||||
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, seee, testtest(testtest(foofoo)), /**/testsa)
|
||||
|
||||
testtest(
|
||||
foofoo, seee, testtest(testtest(foofoo)), /*
|
||||
*/
|
||||
testsa,
|
||||
)
|
||||
|
||||
useCallable(
|
||||
"B", "C",
|
||||
Callable {
|
||||
println("Hello world")
|
||||
}, /* */
|
||||
Callable {
|
||||
println("Hello world")
|
||||
},
|
||||
)
|
||||
|
||||
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)),
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user