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:
Dmitry Gridin
2020-05-22 16:43:23 +07:00
parent 86827dfc92
commit 262c9e6858
21 changed files with 301 additions and 279 deletions
@@ -3,7 +3,7 @@
@Anno([1])
fun a() = Unit
@Anno([1, ])
@Anno([1])
fun a() = Unit
@Anno([1
@@ -22,7 +22,7 @@ fun a() = Unit
@Anno([1, 2])
fun a() = Unit
@Anno([1, 2, ])
@Anno([1, 2])
fun a() = Unit
@Anno([1, 2
@@ -41,7 +41,7 @@ fun a() = Unit
@Anno([1, 2, 2])
fun a() = Unit
@Anno([1, 2, 2, ])
@Anno([1, 2, 2])
fun a() = Unit
@Anno(["1"
@@ -74,8 +74,8 @@ fun a() = Unit
/*
*/
// d
1/*
*/,/*
1,/*
*//*
*/
])
fun a() = Unit
@@ -91,8 +91,8 @@ fun a() = Unit
@Anno([
1,
2/*
*/,/*
2,/*
*//*
*/
])
fun a() = Unit
@@ -3,7 +3,7 @@
@Anno([1])
fun a() = Unit
@Anno([1, ])
@Anno([1])
fun a() = Unit
@Anno([1
@@ -22,7 +22,7 @@ fun a() = Unit
@Anno([1, 2])
fun a() = Unit
@Anno([1, 2, ])
@Anno([1, 2])
fun a() = Unit
@Anno([1, 2
@@ -41,7 +41,7 @@ fun a() = Unit
@Anno([1, 2, 2])
fun a() = Unit
@Anno([1, 2, 2, ])
@Anno([1, 2, 2])
fun a() = Unit
@Anno(["1"
@@ -74,8 +74,8 @@ fun a() = Unit
/*
*/
// d
1/*
*/,/*
1,/*
*//*
*/
])
fun a() = Unit
@@ -91,8 +91,8 @@ fun a() = Unit
@Anno([
1,
2/*
*/,/*
2,/*
*//*
*/
])
fun a() = Unit
@@ -25,7 +25,7 @@ fun foo() {
foofoo
]
testtest[foofoo, ]
testtest[foofoo]
testtest[foofoo, testtest[testtest[foofoo]]]
@@ -34,9 +34,9 @@ fun foo() {
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"] }]
@@ -48,7 +48,7 @@ fun foo() {
useCallable[Callable { println["Hello world"] }]
useCallable[Callable { println["Hello world"] }, ]
useCallable[Callable { println["Hello world"] }]
useCallable[
Callable {
@@ -76,7 +76,7 @@ fun foo() {
useCallable[{ println["Hello world"] }]
useCallable[{ println["Hello world"] }, ]
useCallable[{ println["Hello world"] }]
useCallable[
{ println["Hello world"] },
@@ -104,7 +104,7 @@ fun foo() {
override fun call() {
println["Hello world"]
}
}, foo[0, ]]
}, foo[0]]
useCallable[object : Callable<Unit> {
override fun call() {
@@ -112,11 +112,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() {
@@ -171,7 +173,7 @@ fun foo() {
foofoo
]
testtest[foofoo,/**/]
testtest[foofoo/**/]
testtest[foofoo, foofoo, foofoo, foofoo/*
*/, /* */ bar
@@ -184,7 +186,7 @@ fun foo() {
foofoo
]
testtest[foofoo,/**/]
testtest[foofoo/**/]
testtest[
foofoo, fososos,/*
@@ -192,16 +194,16 @@ fun foo() {
testtest[testtest[foofoo]],
]
testtest[foofoo, testtest[testtest[foofoo, ]], /**/testsa]
testtest[foofoo, testtest[testtest[foofoo]], /**/testsa]
testtest[foofoo, testtest[testtest[foofoo, ]]/* */, /**/testsa]
testtest[foofoo, testtest[testtest[foofoo]]/* */, /**/testsa]
testtest[foofoo, testtest[testtest[foofoo, ]]/*
testtest[foofoo, testtest[testtest[foofoo]]/*
*/, testsa]
testtest[foofoo, seee, testtest[testtest[foofoo, ]], /**/testsa]
testtest[foofoo, seee, testtest[testtest[foofoo]], /**/testsa]
testtest[foofoo, seee, testtest[testtest[foofoo, ]], /*
testtest[foofoo, seee, testtest[testtest[foofoo]], /*
*/testsa]
useCallable["B", "C", Callable {
@@ -25,7 +25,7 @@ fun foo() {
foofoo
]
testtest[foofoo, ]
testtest[foofoo]
testtest[foofoo, testtest[testtest[foofoo]]]
@@ -34,9 +34,9 @@ fun foo() {
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"] }]
@@ -48,7 +48,7 @@ fun foo() {
useCallable[Callable { println["Hello world"] }]
useCallable[Callable { println["Hello world"] }, ]
useCallable[Callable { println["Hello world"] }]
useCallable[
Callable {
@@ -76,7 +76,7 @@ fun foo() {
useCallable[{ println["Hello world"] }]
useCallable[{ println["Hello world"] }, ]
useCallable[{ println["Hello world"] }]
useCallable[
{ println["Hello world"] },
@@ -104,7 +104,7 @@ fun foo() {
override fun call() {
println["Hello world"]
}
}, foo[0, ]]
}, foo[0]]
useCallable[object : Callable<Unit> {
override fun call() {
@@ -112,11 +112,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() {
@@ -171,7 +173,7 @@ fun foo() {
foofoo
]
testtest[foofoo,/**/]
testtest[foofoo/**/]
testtest[foofoo, foofoo, foofoo, foofoo/*
*/, /* */ bar
@@ -184,7 +186,7 @@ fun foo() {
foofoo
]
testtest[foofoo,/**/]
testtest[foofoo/**/]
testtest[
foofoo, fososos,/*
@@ -192,16 +194,16 @@ fun foo() {
testtest[testtest[foofoo]],
]
testtest[foofoo, testtest[testtest[foofoo, ]], /**/testsa]
testtest[foofoo, testtest[testtest[foofoo]], /**/testsa]
testtest[foofoo, testtest[testtest[foofoo, ]]/* */, /**/testsa]
testtest[foofoo, testtest[testtest[foofoo]]/* */, /**/testsa]
testtest[foofoo, testtest[testtest[foofoo, ]]/*
testtest[foofoo, testtest[testtest[foofoo]]/*
*/, testsa]
testtest[foofoo, seee, testtest[testtest[foofoo, ]], /**/testsa]
testtest[foofoo, seee, testtest[testtest[foofoo]], /**/testsa]
testtest[foofoo, seee, testtest[testtest[foofoo, ]], /*
testtest[foofoo, seee, testtest[testtest[foofoo]], /*
*/testsa]
useCallable["B", "C", Callable {
@@ -35,19 +35,19 @@ fun foo() {
foofoo
>()
testtest<foofoo, >()
testtest<foofoo>()
testtest<foofoo, testtest<testtest<foofoo>>>()
testtest<foofoo, fososos, testtest<testtest<foofoo>>, >()
testtest<foofoo, fososos, testtest<testtest<foofoo>>>()
testtest<
foofoo, fososos, testtest<testtest<foofoo>>,
>()
testtest<foofoo, testtest<testtest<foofoo, >>, testsa>()
testtest<foofoo, testtest<testtest<foofoo>>, testsa>()
testtest<foofoo, *, testtest<testtest<foofoo, >>, testsa>()
testtest<foofoo, *, testtest<testtest<foofoo>>, testsa>()
testtest<
foofoo, foofoo, foofoo, foofoo,
@@ -80,7 +80,7 @@ fun foo() {
foofoo
>()
testtest<foofoo,/**/>()
testtest<foofoo/**/>()
testtest<foofoo, foofoo, foofoo, foofoo/*
*/, /* */ bar
@@ -93,7 +93,7 @@ fun foo() {
foofoo
>()
testtest<foofoo,/**/>()
testtest<foofoo/**/>()
testtest<
foofoo,/*
@@ -110,15 +110,15 @@ fun foo() {
testtest<testtest<foofoo>>,
>()
testtest<foofoo, testtest<testtest<foofoo, >>, /**/testsa>()
testtest<foofoo, testtest<testtest<foofoo>>, /**/testsa>()
testtest<foofoo, testtest<testtest<foofoo, >>/* */, /**/testsa>()
testtest<foofoo, testtest<testtest<foofoo>>/* */, /**/testsa>()
testtest<foofoo, testtest<testtest<foofoo, >>/*
testtest<foofoo, testtest<testtest<foofoo>>/*
*/, testsa>()
testtest<foofoo, seee, testtest<testtest<foofoo, >>, /**/testsa>()
testtest<foofoo, seee, testtest<testtest<foofoo>>, /**/testsa>()
testtest<foofoo, seee, testtest<testtest<foofoo, >>, /*
testtest<foofoo, seee, testtest<testtest<foofoo>>, /*
*/testsa>()
}
@@ -35,19 +35,19 @@ fun foo() {
foofoo
>()
testtest<foofoo, >()
testtest<foofoo>()
testtest<foofoo, testtest<testtest<foofoo>>>()
testtest<foofoo, fososos, testtest<testtest<foofoo>>, >()
testtest<foofoo, fososos, testtest<testtest<foofoo>>>()
testtest<
foofoo, fososos, testtest<testtest<foofoo>>,
>()
testtest<foofoo, testtest<testtest<foofoo, >>, testsa>()
testtest<foofoo, testtest<testtest<foofoo>>, testsa>()
testtest<foofoo, *, testtest<testtest<foofoo, >>, testsa>()
testtest<foofoo, *, testtest<testtest<foofoo>>, testsa>()
testtest<
foofoo, foofoo, foofoo, foofoo,
@@ -80,7 +80,7 @@ fun foo() {
foofoo
>()
testtest<foofoo,/**/>()
testtest<foofoo/**/>()
testtest<foofoo, foofoo, foofoo, foofoo/*
*/, /* */ bar
@@ -93,7 +93,7 @@ fun foo() {
foofoo
>()
testtest<foofoo,/**/>()
testtest<foofoo/**/>()
testtest<
foofoo,/*
@@ -110,15 +110,15 @@ fun foo() {
testtest<testtest<foofoo>>,
>()
testtest<foofoo, testtest<testtest<foofoo, >>, /**/testsa>()
testtest<foofoo, testtest<testtest<foofoo>>, /**/testsa>()
testtest<foofoo, testtest<testtest<foofoo, >>/* */, /**/testsa>()
testtest<foofoo, testtest<testtest<foofoo>>/* */, /**/testsa>()
testtest<foofoo, testtest<testtest<foofoo, >>/*
testtest<foofoo, testtest<testtest<foofoo>>/*
*/, testsa>()
testtest<foofoo, seee, testtest<testtest<foofoo, >>, /**/testsa>()
testtest<foofoo, seee, testtest<testtest<foofoo>>, /**/testsa>()
testtest<foofoo, seee, testtest<testtest<foofoo, >>, /*
testtest<foofoo, seee, testtest<testtest<foofoo>>, /*
*/testsa>()
}
@@ -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 = "", /*
*/
)
}
@@ -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 = "", /*
*/
)
}
@@ -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 = "", /*
*/
)
}
@@ -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 = "", /*
*/
)
}
@@ -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 = "", /*
*/
)
}
@@ -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 = "", /*
*/
)
}
@@ -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 = "", /*
*/
)
}
@@ -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 = "", /*
*/
)
}