find_name doesn't obey docs on unbound

Jonathan Leto jaleto at
Tue Feb 16 17:43:56 UTC 2010


Can you provide a small snippet of code that reproduces this problem?
I can add it as a test case and it will have a much better chance of
being fixed and staying that way.


On Mon, Feb 15, 2010 at 5:15 PM, Perry Wagle <wagle at> wrote:
> find_name (ie, Parrot_find_name_op()) doesn't have a code path to throw an exception if the name is not bound.  It just returns NULL.
> I was invited to repair that, but if I did, all the code that depending on the default behavior not being as documented (its supposed to throw an exception on unbound) would now barf.  I expect that to be a lot.
> How should that be handled?
> -- Perry
> PS.  The code also says it doesn't crawl the scopes completely either.
> _______________________________________________

Jonathan "Duke" Leto
jonathan at

More information about the parrot-dev mailing list