Move call-site trailing comma to registry

#KT-34744
This commit is contained in:
Dmitry Gridin
2020-02-03 16:44:13 +07:00
parent c34b417d0c
commit b5d0956a5e
45 changed files with 5022 additions and 1422 deletions
@@ -12,16 +12,12 @@ fun test() {
fun test1() {
val abc = ArrayList<Int>()
.map(
{
it * 2
},
)
.filter(
{
it > 4
},
)
.map({
it * 2
})
.filter({
it > 4
})
}
fun test2() {
@@ -39,7 +35,7 @@ fun test3() {
fun test4() {
val abc = ArrayList<Int>().mapTo(
LinkedHashSet(),
LinkedHashSet()
) {
it * 2
}