On Wed Nov 10 00:48:43 2010, qiuhw wrote:
> [...]
>
> $ cat A.pm
> class A {
>      has $.a syntax error;
> }
> $ perl6 A.pm
> ===SORRY!===
> Unable to parse blockoid, couldn't find final '}' at line 2
> 
> We definitely have a '}' at line 3.

Right, but the syntax error is at line 2, so that's where it can't find the '}'.

I agree that the syntax error is a bit off, though. It would probably be better 
if it just said 
"syntax error" instead of "couldn't find final '}'".

Reply via email to