Oh. That's actually related to this ticket: https://rt.perl.org/Ticket/Display.html?id=132168
I'll merge it because both tickets are asking for the same problem to be resolved. On 2015-11-09 05:03:59, jns...@gellyfish.co.uk wrote: > 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