code cleanup can replace infix calls to library functions with ordinary calls

#KT-9976 Fixed
This commit is contained in:
Dmitry Jemerov
2015-11-13 20:05:15 +01:00
parent efa2e98541
commit a80930bf15
4 changed files with 68 additions and 0 deletions
+4
View File
@@ -83,3 +83,7 @@ fun test(a: AAA, b: BBB) {
a.foo()
}
}
fun infixTest() {
arrayListOf(1, 2, 3) map { it }
}
+4
View File
@@ -83,3 +83,7 @@ fun test(a: AAA, b: BBB) {
(a.foo)()
}
}
fun infixTest() {
arrayListOf(1, 2, 3).map { it }
}