develooper Front page | perl.perl6.compiler | Postings from April 2012

[perl #112256] [BUG] Arrays collapse into scalars with .rotate and the sequence operator in Rakudo

From:
Carl Mäsak
Date:
April 4, 2012 15:22
Subject:
[perl #112256] [BUG] Arrays collapse into scalars with .rotate and the sequence operator in Rakudo
Message ID:
rt-3.6.HEAD-4610-1333578143-1406.112256-82-0@perl.org
# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #112256]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=112256 >


<TimToady> perl6: .say for ([1, 0 xx 5-1], *.rotate(-1) ... *)[^5]
<p6eval> niecza v15-6-gefda208: OUTPUT«1 0 0 0 0␤0 1 0 0 0␤0 0 1 0 0␤0
0 0 1 0␤0 0 0 0 1␤»
<p6eval> ..rakudo 4373f0: OUTPUT«1 0 0 0 0␤0␤1␤0␤0␤»
<TimToady> um...
<TimToady> rakudobug?
<masak> seemingly.
* masak submits it



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About