https://kotlinlang.org logo
Title
f

fred.deschenes

11/03/2017, 2:45 PM
you'd have to declare your interfaces like this :
interface Wtf<out A, out B, out C : Ftw<A, B>>
interface Ftw<out A, out B>
👍 1
m

miha-x64

11/03/2017, 2:48 PM
Thanks, you've saved my evening! Thought it's impossible.
f

fred.deschenes

11/03/2017, 2:54 PM
No problem, be careful though as this might open up the portal to generics hell 😉
🤔 1
You should probably read the documentation on star projections : https://kotlinlang.org/docs/reference/generics.html
m

miha-x64

11/03/2017, 4:19 PM
Yea, thanks. I've read it, my generics are just too complicated, getting analysis paralysis sometimes 🙂