Also, I found way for restrict usage of nullable t...
# announcements
g
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() }