# New Ticket Created by d...@veritablesoftware.com # Please include the string: [perl #126422] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=126422 >
Perl 6 Version: 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!