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.

-- 
Will "Coke" Coleda

Reply via email to