Unnecessary parentheses in function call with lambda: simplify
Related to KT-23452
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// IS_APPLICABLE: false
|
||||
|
||||
fun returnFun2(i: Int): (() -> Unit) -> Unit = {}
|
||||
|
||||
fun test22() {
|
||||
returnFun2(1)()<caret> {}
|
||||
}
|
||||
Reference in New Issue
Block a user