mzgreen
01/27/2017, 12:09 PMfun <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