Files
kotlin-fork/compiler/testData/diagnostics/tests/subtyping/kt-1457.jet
T

9 lines
150 B
Plaintext

// +JDK
import java.util.ArrayList
class MyListOfPairs<T> : ArrayList<#(T, T)>() { }
fun test() {
MyListOfPairs<Int> : ArrayList<#(Int, Int)>
}