TrailingCommaPostFormatProcessor: should work with call-site in limited mode
* remove useless comma * format call if comma exists #KT-39079 Fixed
This commit is contained in:
+25
-23
@@ -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,11 +128,13 @@ 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() {
|
||||
@@ -187,7 +189,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -200,7 +202,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -208,16 +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 {
|
||||
@@ -265,9 +267,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
)
|
||||
}
|
||||
|
||||
+25
-23
@@ -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,11 +128,13 @@ 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() {
|
||||
@@ -187,7 +189,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -200,7 +202,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -208,16 +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 {
|
||||
@@ -265,9 +267,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
)
|
||||
}
|
||||
|
||||
+25
-23
@@ -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,11 +128,13 @@ 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() {
|
||||
@@ -187,7 +189,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -200,7 +202,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -208,16 +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 {
|
||||
@@ -265,9 +267,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
)
|
||||
}
|
||||
|
||||
+25
-23
@@ -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,11 +128,13 @@ 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() {
|
||||
@@ -187,7 +189,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -200,7 +202,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -208,16 +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 {
|
||||
@@ -265,9 +267,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
)
|
||||
}
|
||||
|
||||
+28
-24
@@ -50,22 +50,24 @@ 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",
|
||||
@@ -82,7 +84,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") }, )
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
@@ -108,7 +110,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") }, )
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
@@ -134,7 +136,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") }, )
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
@@ -177,11 +179,13 @@ 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() {
|
||||
@@ -254,7 +258,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo,
|
||||
foofoo,
|
||||
@@ -271,7 +275,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
@@ -281,26 +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)
|
||||
|
||||
@@ -356,9 +360,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
)
|
||||
}
|
||||
|
||||
+28
-24
@@ -50,22 +50,24 @@ 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",
|
||||
@@ -82,7 +84,7 @@ fun foo() {
|
||||
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") }, )
|
||||
useCallable(Callable { println("Hello world") })
|
||||
|
||||
useCallable(Callable { println("Hello world") }
|
||||
)
|
||||
@@ -108,7 +110,7 @@ fun foo() {
|
||||
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") }, )
|
||||
useCallable({ println("Hello world") })
|
||||
|
||||
useCallable({ println("Hello world") }
|
||||
)
|
||||
@@ -134,7 +136,7 @@ fun foo() {
|
||||
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") }, )
|
||||
useCallable(foo() { println("Hello world") })
|
||||
|
||||
useCallable(foo() { println("Hello world") }
|
||||
)
|
||||
@@ -177,11 +179,13 @@ 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() {
|
||||
@@ -254,7 +258,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo,
|
||||
foofoo,
|
||||
@@ -271,7 +275,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo,
|
||||
@@ -281,26 +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)
|
||||
|
||||
@@ -356,9 +360,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
)
|
||||
}
|
||||
|
||||
+25
-23
@@ -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,11 +128,13 @@ 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() {
|
||||
@@ -187,7 +189,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -200,7 +202,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -208,16 +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 {
|
||||
@@ -265,9 +267,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
)
|
||||
}
|
||||
|
||||
+25
-23
@@ -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,11 +128,13 @@ 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() {
|
||||
@@ -187,7 +189,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(foofoo, foofoo, foofoo, foofoo/*
|
||||
*/, /* */ bar
|
||||
@@ -200,7 +202,7 @@ fun foo() {
|
||||
foofoo
|
||||
)
|
||||
|
||||
testtest(foofoo,/**/)
|
||||
testtest(foofoo/**/)
|
||||
|
||||
testtest(
|
||||
foofoo, fososos,/*
|
||||
@@ -208,16 +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 {
|
||||
@@ -265,9 +267,9 @@ fun foo() {
|
||||
|
||||
fun test() {
|
||||
baz(
|
||||
f = fun(it: Int): String = "$it" /*dwdwd
|
||||
*/,
|
||||
name = "" /*
|
||||
*/,
|
||||
f = fun(it: Int): String = "$it", /*dwdwd
|
||||
*/
|
||||
name = "", /*
|
||||
*/
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user