Hi All, is there any way to create a class that implements the same interface multiple times with two generic parameters, where one parameter is a subclass of the other? i.e.
Copy code
interface A
interface MutableA : A
interface Container<out E> : List<E>
interface MutableContainer<out MUTABLE : READ, out READ> : Container<READ>, MutableList<MUTABLE>
h
hho
01/08/2018, 9:35 AM
No, because at runtime the generic type is erased.