Files
kotlin-fork/compiler/testData/codegen/box/regressions/kt35914.kt
T
Alexander Udalov 1071919706 Remove backend tests on old inference
Also remove any mentions of NewInference, and rename some tests.
2021-11-09 20:07:33 +01:00

13 lines
187 B
Kotlin
Vendored

// WITH_RUNTIME
class Inv<T>
fun <T> bar(x: Inv<T>.() -> Unit) = x
fun box(): String {
listOf(
bar<Char> { },
bar { } // the problem is here
)
return "OK"
}