Files
kotlin-fork/idea/testData/inspectionsLocal/redundantLambdaArrow/notApplicableOverload2.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

9 lines
127 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
fun bar(f: () -> Unit) {}
fun bar(f: (Int) -> Unit) {}
fun test() {
bar({ -><caret> })
}