Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/instar.fir.kt
T

11 lines
253 B
Kotlin
Vendored

// Reproduces exception in TypeResolver.kt: EA-66870
import java.util.ArrayList
abstract class J {
public abstract fun <T : Collection<S>, S : List<in *>> foo(x: T)
fun bar() {
val s = ArrayList<ArrayList<Int>>()
foo(s)
}
}