On Wed Oct 28 14:34:59 2009, moritz wrote:
> On Sun Aug 16 04:30:06 2009, masak wrote:
> > <masak> rakudo: sub foo($positional, :$named) {}; foo(:named)
> > <p6eval> rakudo 0d4fe0: OUTPUT«invalid arg type in named portion of
> > args␤in sub foo [...]
> > <masak> it doesn't say the name of the arg that cause the error, or
> > the name of the arg that it expected
> > * masak submits rakudobug
> 
> 
> 22:32 <@moritz_> rakudo: sub foo($positional, :$named) {}; foo(:named)
> 22:32 <+p6eval> rakudo 6a43a3: OUTPUT«Not enough positional parameters
> passed; got 0 but expected 1␤in Main (file src/gen_setting.pm, line 295)␤»
> 
> That's about as awesome as it gets, though I don't know if it makes
> sense to write specific tests for it since error messages aren't
> standardized yet.
> 
> Can we close the ticket without a test?

Yes, I think so. Resolving.

Reply via email to