Join Slack
Powered by
Also, I found way for restrict usage of nullable t...
# announcements
g
gildor
03/17/2016, 8:21 AM
Also, I found way for restrict usage of nullable types for T, so in this case you can use
t
as non-nullable:
fun <T : Any> foo(t: T, z: T?) { t.hashCode() }
Open in Slack
Previous
Next