Don't create empty parentheses when lambda is the only argument

This commit is contained in:
Tal Man
2014-03-18 20:53:48 -04:00
committed by Andrey Breslav
parent 796611702c
commit 1c2082fd19
2 changed files with 8 additions and 3 deletions
@@ -1,6 +1,6 @@
// IS_APPLICABLE: true
fun foo() {
bar() { it }
bar { it }
}
fun bar(a: Int, b: Int->Int) {