Files
kotlin-fork/compiler/testData/diagnostics/tests/inference/cannotCompleteResolveFunctionLiteralsNoUse.fir.kt
T

8 lines
202 B
Kotlin
Vendored

// !WITH_NEW_INFERENCE
package f
fun <R> h(i: Int, a: Any, r: R, f: (Boolean) -> Int) = 1
fun <R> h(a: Any, i: Int, r: R, f: (Boolean) -> Int) = 1
fun test() = <!AMBIGUITY!>h<!>(1, 1, 1, { b -> 42 })