|
|
I'm finally back to reviewing changes after being off-Parrot
for the weekend. In the svn log I notice:
On Sun, Sep 30, 2007 at 09:38:23PM -0700, allison@xxxxxxxxxxxx wrote:
> Log:
> [pdd15oo] Undefined attributes return Undef instead of PMCNULL in the new
> metamodel, because the attribute store is just an array.
As I've mentioned in the past -- this doesn't seem to leave us any way
to distinguish uninitialized attributes from those that are storing
Undef. The standard throughout the rest of Parrot seems to be that
accessing a symbol that hasn't been initialized returns "null" as opposed
to Undef. I think object attributes ought to act consistently with that
approach.
Pm
|
|