Files
Andrey Cherkasov 47a4785a87 [kotlin] Port ReplaceExplicitFunctionLiteralParamWithItIntention for K2
^KTIJ-30542

GitOrigin-RevId: 04c20b21e48b497a15f1a5b71696554005cb2ffd
2024-07-10 18:54:45 +00:00

12 lines
264 B
Kotlin

// IS_APPLICABLE: false
fun test() {
C().foo { <caret>i -> i + 1 }
}
class C {
fun foo(f: (Int) -> Int) {}
fun foo(f: (Int, Int) -> Int) {}
}
// IGNORE_K2
// the intention is applicable for K2, see the paired applicable_overloadResolutionUnambiguity2