# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #69438]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=69438 >


This be Rakudo 0331d6 inside Parrot r41527.

$ cat file-exhibiting-the-problem
class A {
    method postcircumfix:<{ }>($table) {
    }
}

{
    1;
}

$ perl6 file-exhibiting-the-problem
Confused at line 6, near "{\n    1;\n}"
[...]

Adding a semicolon between the two outermost blocks in the file makes
the confusion go away. The point of this ticket, however, is that this
shouldn't be necessary, since line-ending closing curlies have
implicit semicolons.

Reply via email to