Cross references in type parameters
Kotlin doesn’t have raw types, you cannot just drop the type parameters. One option similar to raw types is to use star projections: abstract class Element<S : Snapshot<*>> { /* … */ } abstract class Snapshot<E : Element<*>> { /* … */ } But you won’t be able to normally work with the type parameters … Read more