You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ 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.
$ 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.
Seems to be fine in latest Rakudo; given to moritz++ for spectests.
Migrated from rt.perl.org#69438 (status was 'resolved')
Searchable as RT69438$
The text was updated successfully, but these errors were encountered: