akshay_b
04/28/2020, 1:27 PMobject : GenericType<Pair<F, S>>() {}
produces raw type of GenericType<Pair<? extends F, ? extends S>>
how to remove ? extends
Thanks in advance 🙂diesieben07
04/28/2020, 1:29 PMPair
is declared as Pair<out A, out B>
. That is the reason you see this type.
You can use @JvmSuppressWildcards
to suppress this behaviorakshay_b
04/28/2020, 1:34 PM