Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/instar.kt
T
2015-05-27 19:07:46 +03:00

11 lines
276 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<<!ILLEGAL_MODIFIER!>in<!> *>> foo(x: T)
fun bar() {
val s = ArrayList<ArrayList<Int>>()
foo(s)
}
}