Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
def foo(int i)
foo()
should fail with a MissingMethodException. We allow the call if foo is taking an Object, but in case of a primitive there is no simple cast from null to a primitive type. For boolean we do not allow that even though null is false in groovy. But since it is an implicit conversion here we decided for now to disallow it.