# New Ticket Created by Jonathan Stowe # Please include the string: [perl #126596] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=126596 >
perl6 -e 'my $a = "jsjsjs {"; for <a b> -> $b { say $b }' ===SORRY!=== Error while compiling -e Variable '$b' is not declared at -e:1 ------> my $a = "jsjsjs {"; for <a b> -> ⏏$b { say $b } Obviously it is fine if the '{' is backslashed. Similarly: <ilmari> m: my $a = "{ 42"; for <a b> -> $b { say $b } # also LTA error <camelia> rakudo-moar 65bfb6: OUTPUT«===SORRY!=== Error while compiling /tmp/m116oiicsoTwo terms in a rowat /tmp/m116oiicso:1------> my $a = "{ 42⏏"; for <a b> -> $b { say $b } # also LTA expecting any of: infix infix stopper stateme…» This is perl6 version 2015.10-169-gfd3927d built on MoarVM version 2015.10-51-ga362d21