Join Slack
Powered by
don't know if this is a similar bug but this works...
# announcements
u
06needhamt
06/24/2016, 8:30 PM
don't know if this is a similar bug but this works without saying the cast is unchecked
Copy code
fun num<T : Number> N(t Any) : Number{ return t as T }
Open in Slack
Previous
Next