1071919706
Also remove any mentions of NewInference, and rename some tests.
13 lines
187 B
Kotlin
Vendored
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"
|
|
}
|