[perl #58886] [BUG] :named argument handling in PIR
Will Coleda via RT
parrotbug-followup at parrotcode.org
Wed Oct 28 01:14:28 UTC 2009
On Tue Sep 16 13:26:41 2008, allison at perl.org wrote:
> Will Coleda (via RT) wrote:
> [...]
> >
> > I would expect one of the following things to happen here, either:
> >
> > - an error is generated when test2 is parsed because there is no name
> > for the named parameter, or
> > - test2's blarg .param should default to being named 'blarg', so both
> > calls should work identically.
> >
> > Even more confusing, this code:
>
> Yes, we need better error checking and better error reporting in named
> argument handling. We need a general invocation refactor, but can do it
> in small stages.
>
> Let's go with defaulting to the same name as the .param on the bare :named.
>
> Allison
>
This issue is now being tracked in https://trac.parrot.org/parrot/ticket/1152
--
Will "Coke" Coleda
More information about the parrot-dev
mailing list