Files
kotlin-fork/idea/testData/intentions/replaceExplicitFunctionLiteralParamWithIt/notApplicable_overloadResolutionAmbiguity2.kt
T

9 lines
154 B
Kotlin
Vendored

// IS_APPLICABLE: false
fun test() {
C().foo { <caret>i -> i + 1 }
}
class C {
fun foo(f: (Int) -> Int) {}
fun foo(f: (Int, Int) -> Int) {}
}