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


<masak> rakudo: my @foo := 1..3, @foo; .say for @foo[^10]
<p6eval> rakudo 792e86: OUTPUT«1␤2␤3␤1␤2␤3␤1␤2␤3␤1␤»
<masak> this is what I expect.
<pmurias> sorear: explain what you mean by the second thing?
<masak> rakudo: my @foo := 1..3, (@foo Z+ 100); .say for @foo[^10]
<p6eval> rakudo 792e86: OUTPUT«1␤2␤3␤101␤Any()␤Any()␤Any()␤Any()␤Any()␤Any()␤»
<masak> that... is not.
<masak> can we rely on array binding of the above kind to work?
<masak> if yes, is the second eval an expression of a rakudobug?
<masak> if no, how are we supposed to explain that some cases work and
some not? :/
<sorear> masak: I beleive so on both counts
* masak submits rakudobug
<sorear> I expect "1 2 3 Any() Any() ..." for both of them

Reply via email to