1071919706
Also remove any mentions of NewInference, and rename some tests.
14 lines
250 B
Kotlin
Vendored
14 lines
250 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
fun <X, Y> foo(): (X) -> Y = TODO()
|
|
|
|
interface Inv2<A, B>
|
|
|
|
fun <T, R> check(x: T, y: R, f: (T) -> R): Inv2<T, R> = TODO()
|
|
|
|
fun test() = check("", 1, foo())
|
|
|
|
fun box(): String {
|
|
val x: Inv2<String, Int> = test()
|
|
|
|
return "OK"
|
|
} |