Files
kotlin-fork/compiler/testData/codegen/box/inference/capturedStarProjection.kt
T
Mark Punzalan 5afab1ac2b [FIR] FIR2IR: Populate calls with type arguments and function type
parameters with bounds/supertypes.
2019-11-25 09:37:47 +03:00

14 lines
146 B
Kotlin
Vendored

// !LANGUAGE: +NewInference
// WITH_RUNTIME
interface A<T> {
var x: T
}
fun test(a: A<*>) {
a.x
}
fun box(): String {
return "OK"
}