Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0-JSR-3
-
None
-
None
Description
> cannot call
> null.inspect()
> and
> null.dump()
> although these methods' implementation would be able
> to deal with this.
> The invoke mechanism checks for null prevent this.
> Either adapt the invoke mechanism or simplify the
> implementations.
blackdrag:
I think we should adapt the invoker mechanism for this and give "null"
some methods. we could convert null into a constant NullObject, and use
this instead. I think the changes are minimal.
Attachments
Issue Links
- relates to
-
GROOVY-433 Null Object
- Closed