Tricky question: is there a way to tell my code th...
# announcements
m
Tricky question: is there a way to tell my code that some Java type is covariant?
o
@mg6maciej interesting. You could make a wrapper, but I have a feeling you already know this and it's not what you're after
So...I don't think that's possible...yet. But I would love to see that implemented in the future.
m
typealias MyAlias<T> = OtherType<out T>
🙂
But I could not make
@UnsafeVariance
work with that in any way.