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


<quester> rn: macro postfix:<!>($n) { quasi { {{{$n}}}+1 } } ; say $_! for 3..5;
<p6eval> ..rakudo c3f565: OUTPUT«use of uninitialized variable $_ of
type Any in numeric context␤1␤use of uninitialized variable $_ of type
Any in numeric context␤1␤use of uninitialized variable $_ of type Any
in numeric context␤1␤»
<quester> rn: macro postfix:<!>($n) { quasi { {{{$n}}}+1 } } ; for
3..5 {say $_!};
<+p6eval> rakudo c3f565: OUTPUT«4␤5␤6␤»
* quester agrees that this is enough spam, but idly wonders if this is
a rakudo bug
<masak> quester: yes, that looks like a rakudobug.
* masak submits

I *think* this is buggy behavior, and that the first result should
equal the second one. Will need to think a bit deeper about it to be
sure, though.

Reply via email to