Files
kotlin-fork/idea/testData/inspectionsLocal/redundantLambdaArrow/overload4.kt
T
Dmitry Gridin 479e812bbc Fix false positive "Redundant lambda arrow" inspection
#KT-29590 Fixed
 #KT-19462 Fixed
 #KT-29124 Fixed
2019-03-13 20:57:30 +07:00

8 lines
119 B
Kotlin
Vendored

// WITH_RUNTIME
fun bar(f: () -> Unit) {}
fun bar(g: (Int, Int) -> Unit) {}
fun test() {
bar(f = { -><caret> })
}