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
This is perl6 version 2015.09-428-g46874fd built on MoarVM version
2015.09-79-gee9fc2b
When I try to run this program in the debugger:
#!/usr/bin/env perl6
use v6;
foo();
bar();
sub foo {
say 'foo';
} # END: foo
sub bar {
say 'bar';
} # END: bar
I get this from the debugger:
$ perl6-debug-m comment_bug.p6
LOADING comment_bug.p6
===SORRY!=== Error while compiling
/development/perl6/introduction_to_perl_6/functions/comment_bug.p6
Strange text after block (missing semicolon or comma?)
at /development/perl6/introduction_to_perl_6/functions/comment_bug.p6:12
------> }⏏ # END: foo
expecting any of:
infix
infix stopper
statement end
statement modifier
statement modifier loop
It apparently only happens if there is code after sub foo {...}. Thanks!
Migrated from rt.perl.org#126422 (status was 'new')
Searchable as RT126422$
The text was updated successfully, but these errors were encountered: