Files
kotlin-fork/compiler/testData/ir/irText/firProblems/MultiList.kt
T
Mikhail Glukhikh 2dc6467b5d [FIR] Modify signatures also from ERASED_COLLECTION_PARAMETER_SIGNATURES
In this commit we change value parameter type of containsAll, removeAll,
retainAll from Java collections. Originally it's Collection<?>,
we change it to Collection<T>

#KT-42340 Fixed
2020-10-28 18:09:11 +03:00

12 lines
207 B
Kotlin
Vendored

// FULL_JDK
import java.util.ArrayList
data class Some<T>(val value: T)
interface MyList<T> : List<Some<T>>
open class SomeList<T> : MyList<T>, ArrayList<Some<T>>()
class FinalList : SomeList<String>()