Join Slack
Powered by
it’s likely complaining about the `Y`
# announcements
e
evanchooly
12/23/2017, 9:01 PM
it’s likely complaining about the
Y
b
benleggiero
12/24/2017, 5:40 AM
What do you mean? In this scenario,
x: Any
s
Shawn
12/24/2017, 5:48 AM
that’s why he said the compiler is complaining about type
Y
, not
x
Shawn
12/24/2017, 5:48 AM
you may want to review the documentation on Unchecked casts:
https://kotlinlang.org/docs/reference/typecasts.html#unchecked-casts
Open in Slack
Previous
Next