Files
kotlin-fork/compiler/testData/ir/irText/regressions/newInferenceFixationOrder1.kt
T
Sergej Jaskiewicz f2031ae642 [IR] Don't print multifile/synthetic facade class names in irText tests
This only applies to JVM and fq-names in declaration references
in IR dumps.

This enables us to run more irText tests on platforms other than JVM
(see KT-58605).
2023-06-05 10:40:17 +00:00

16 lines
252 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"
}