Join Slack
Powered by
<@U0BHS1Y07>: yes, you are right. Looks like comp...
# announcements
g
gildor
03/17/2016, 8:02 AM
@voddan
: yes, you are right. Looks like compiler can’t recognise type of T, so you must use null-safe expression:
fun <T> foo(t: T, z: T?) { t?.hashCode() }
2
Views
Open in Slack
Previous
Next