# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #127091]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127091 >


In the output below, you can see that inserting a new line before the comma 
results in an error. 

Mentioned it here too: http://irclog.perlgeek.de/perl6/2015-12-30#i_11804178

<ZoffixW> m: my @c = ( [{foo => 'bar'},],);
<camelia> rakudo-moar d08e04: ( no output )
<ZoffixW> m: my @c = ( [{foo => 'bar'}          ,],);
<camelia> rakudo-moar d08e04: ( no output )
<ZoffixW> m: my @c = ( [{foo => 'bar'}␤,],);
<camelia> rakudo-moar d08e04: OUTPUT«===SORRY!=== Error while compiling 
/tmp/4i3gP6j3p1␤Bogus statement␤at /tmp/4i3gP6j3p1:2␤------> my @c = ( [{foo => 
'bar'}⏏<EOL>␤    expecting any of:␤        prefix␤        statement end␤        
term␤»
<ZoffixW> m: my @c = ( [{foo => 'bar'}     ␤    ,],);
<camelia> rakudo-moar d08e04: OUTPUT«===SORRY!=== Error while compiling 
/tmp/ClpK2AcBTF␤Bogus statement␤at /tmp/ClpK2AcBTF:2␤------> my @c = ( [{foo => 
'bar'}⏏     ␤    expecting any of:␤        prefix␤        statement end␤        
term␤»

Reply via email to