Hello All, The code `object : GenericType<Pair&...
# announcements
a
Hello All, The code 
object : GenericType<Pair<F, S>>() {}
produces raw type of 
GenericType<Pair<? extends F, ? extends S>>
 how to remove 
? extends
Thanks in advance 🙂
d
Pair
is declared as
Pair<out A, out B>
. That is the reason you see this type. You can use
@JvmSuppressWildcards
to suppress this behavior
🤩 1
a
Thanks @diesieben07! It works 🙂