Files
kotlin-fork/compiler/testData/codegen/box/javaInterop/generics/propertyVarianceConflict.kt
T

16 lines
198 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// FILE: C.java
class C<T> {
public C<? super T> getXx() { return this; }
}
// FILE: test.kt
fun test() {
var c: C<out Any?> = C()
c = c.xx
}
fun box() = "OK"