Closed anze3db closed 11 years ago
This should cause a warning:
def test : Option[Type] = null
The user probably meant to return None.
There are a few warnings I've commented out, that are more strict: warn on all nulls, on all Option.get, ...
But I like this one, because it's almost surely a bug. Will add it today, thanks for reporting.
This should cause a warning:
The user probably meant to return None.