`fun <T> foo(param: T): Boolean = param.equa...
# announcements
m
fun <T> foo(param: T): Boolean = param.equals(someOtherObj)
Why is compiler complaining that only non-null asserted calls are allowed when I try to do
param.equals
? I would expect that if I would use
T?
instead of
T