you'd have to declare your interfaces like this : ...
# getting-started
f
you'd have to declare your interfaces like this :
Copy code
interface Wtf<out A, out B, out C : Ftw<A, B>>
interface Ftw<out A, out B>
👍 1
m
Thanks, you've saved my evening! Thought it's impossible.
f
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
Yea, thanks. I've read it, my generics are just too complicated, getting analysis paralysis sometimes 🙂