# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #66776]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66776 >


<masak> perl6: for 1,2,3, { say $_ }
<p6eval> rakudo 1b06df: OUTPUT«Could not find non-existent sub for␤»
<p6eval> ..pugs: OUTPUT«1␤2␤3␤»
<p6eval> ..elf 27154: OUTPUT«Parse error in: /tmp/9lN36lTpDy␤panic at
line 1 column 0  (pos 0): Can't understand next input--giving
up␤WHERE: for 1,2,3, { say $_
         }␤WHERE:/\<-- HERE [...]
<masak> arguably, Rakudo gets this one right.
<masak> but I find it fairly easy to forget to remove a trailing comma
before the block.
<TimToady> std: for 1,2,3, { say $_ }
<p6eval> std 27154: OUTPUT«##### PARSE FAILED #####␤Expression needs
parens to avoid gobbling block  [...]
<masak> yes, that would help.
* masak submits rakudobug

Reply via email to