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

Reply via email to