On Fri Oct 09 02:11:58 2009, masak wrote:
> <masak> rakudo: class A { method foo() {} }; A.new.foo(42)
> <p6eval> rakudo daf221: OUTPUT«positional inside named args at
> position 2␤in method A::foo [...]
> * masak submits LTA rakudobug
> 
> I know that the error is technically accurate, but it's opaque for the
> uninitiated programmer, who doesn't know about *%_ and such.

Now:

> class A { method foo() {} }; A.new.foo(42)
Too many positional parameters passed; got 2 but expected 1

Which I think is significantly better. Closing ticket, feel free to
reply and re-open if it's still NSA. :-)

Thanks,

Jonathan

Reply via email to