mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
11 lines
247 B
Kotlin
11 lines
247 B
Kotlin
fun test() {
|
|
C().foo { <caret>i -> i + 1 }
|
|
}
|
|
|
|
class C {
|
|
fun foo(f: (Int) -> Int) {}
|
|
fun foo(f: (Int, Int) -> Int) {}
|
|
}
|
|
|
|
// IGNORE_K1
|
|
// the intention is inapplicable for K1, see the paired testNotApplicable_overloadResolutionAmbiguity2 |