On Thu Jan 01 12:30:29 2015, [email protected] wrote:
> I added a test for this to S12-attributes/instance.t with commit
> https://github.com/perl6/roast/commit/67d36ed7db
> 
> AFAIU the problem stems from ($.x, $.y) being (parsed as) a signature.
> Even with one attribute the same failure occurs:
> 
> $ ./perl6-m -e 'class C { has ($.x) is rw; }'
> ===SORRY!=== Error while compiling -e
> Two terms in a row
> at -e:1
> ------> class C { has ($.x) ⏏is rw; }
>     expecting any of:
>         postfix
>         infix stopper
>         infix or meta-infix
>         statement end
>         statement modifier
>         statement modifier loop

This test is now unfudged. Closing ticket.
-- 
Will "Coke" Coleda

Reply via email to