https://kotlinlang.org logo
m

mkobit

05/16/2018, 7:34 PM
thanks for the link @karelpeeters, "self types" and recursive generics are terms i didnt know before my (still ugly) idea was to extend it with
class MyThing : Thing<MyThing>()
which seems like it will work i was able to find https://youtrack.jetbrains.com/issue/KT-17186 which i can do
val thing: Thing<*> = Thing<Nothing>()