Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
the following code uses internally a Boolean instead of a boolean for the local variable. Since a boolean cannot hold null, this is an important difference. Slightly modified code seems to not have the problem.
def foo(Boolean o) { boolean b = o println b }