Unnecessary parentheses in function call with lambda: simplify

Related to KT-23452
This commit is contained in:
Mikhail Glukhikh
2018-05-22 16:18:42 +03:00
parent b8f3d588b7
commit 6d39eb9239
3 changed files with 14 additions and 4 deletions
@@ -0,0 +1,7 @@
// IS_APPLICABLE: false
fun returnFun2(i: Int): (() -> Unit) -> Unit = {}
fun test22() {
returnFun2(1)()<caret> {}
}