Join Slack
Powered by
you finds more information about out in <https://k...
# announcements
i
itnoles
12/29/2018, 9:04 PM
you finds more information about out in
https://kotlinlang.org/docs/reference/generics.html
b
benleggiero
12/30/2018, 1:42 AM
I understand generics pretty well… I just don’t understand that error message at all. It seems backwards.
s
Shawn
12/30/2018, 1:44 AM
shrung
I mean as best as I can tell it makes “sense” as far as being a type mismatch
Shawn
12/30/2018, 1:46 AM
the signature requires an invariant T rather than T and and subclasses
b
benleggiero
12/30/2018, 7:54 AM
Yes the type declaration had no explicit variance… but I didn’t explicitly mark anything as
out
near the callsite. That’s what gets me.
Open in Slack
Previous
Next