Files
kotlin-fork/compiler/testData/diagnostics/tests/subtyping/kt-1457.jet
T
2012-05-23 22:04:22 +04:00

8 lines
144 B
Plaintext

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