Skip Menu |
Report information
Id: 126422
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: doug [at]

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: [BUG] Comment after closing sub brace breaks debugger
From: "Douglas E. Miles" <doug [...]>
Date: Wed, 21 Oct 2015 13:12:30 -0700
To: rakudobug [...]
Download (untitled) / with headers
text/plain 841b
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 Show quoted text
>>> 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!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at