On Wed Jul 28 10:01:02 2010, pmichaud wrote:
> On Wed Jul 28 07:44:27 2010, coke wrote:
> > On Wed Sep 16 14:47:06 2009, masak wrote:
> > > $ perl6 -e 'class A { method foo(%*opts) {} }'
> > > Invalid twigil used in signature parameter. at line 1, near ") {} }"
> > > 
> > > Suggest making the error message include "did you mean '*%opts'?".
> > 
> > This doesn't error now:
> > 
> > $ ./perl6 -e 'class A { method foo(%*opts) {} }'
> > $
> > 
> > the * twigil refers to a dynamically overridable global variable. Not 
> > sure if this makes sense in a signature, though.
> 
> The * twigil is allowed in parameter declarations.  STD.pm6 and Rakudo
> both make use of this in several places.

Well, then. Whoever submitted this ticket should have known better. Rejected! :)

Reply via email to