# New Ticket Created by Tim King # Please include the string: [perl #119509] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=119509 >
Discovered while playing with Rakudo JVM, with a typo at the prompt: $ install-jvm/bin/perl6 --version This is perl6 version 2013.08-28-g9faa301 built on JVM $ install-jvm/bin/perl6 > sub f { ) { } # note the accidental open-brace ===SORRY!=== Error while compiling <unknown file> Unable to parse expression in block; couldn't find final '}' at <unknown file>:1 ------> sub f { ⏏) { } # note the accidental open-brace expecting any of: statement list ===SORRY!=== Error while compiling <unknown file> Unable to parse expression in block; couldn't find final '}' at <unknown file>:1 ------> sub f { ⏏) { } # note the accidental open-brace expecting any of: statement list ===SORRY!=== Error while compiling <unknown file> . . . [forever and ever, amen] I was NOT able to reproduce the above behavior running on Parrot, or when the code was in a file. So, for example: $ cat test.pl6 sub f { ) { } $ install-jvm/bin/perl6 test.pl6 ===SORRY!=== Error while compiling test.pl6 Unable to parse expression in block; couldn't find final '}' at test.pl6:1 ------> sub f { ⏏) { } expecting any of: statement list $