KT-1457 Subtyping doesn't work when type parameter is used indirectly in supertype declaration
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// +JDK
|
||||
import java.util.ArrayList
|
||||
|
||||
class MyListOfPairs<T> : ArrayList<#(T, T)>() { }
|
||||
|
||||
fun test() {
|
||||
MyListOfPairs<Int> : ArrayList<#(Int, Int)>
|
||||
}
|
||||
Reference in New Issue
Block a user