mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
12 lines
264 B
Kotlin
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 |