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

[perl #112696] [BUG] [|] 1..5 should give a flat any(1..5) junction, not nested junctions in Rakudo

From:
Carl Mäsak
Date:
April 30, 2012 09:41
Subject:
[perl #112696] [BUG] [|] 1..5 should give a flat any(1..5) junction, not nested junctions in Rakudo
Message ID:
rt-3.6.HEAD-4610-1335804101-277.112696-82-0@perl.org
# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #112696]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=112696 >


<TimToady> perl6: say ([|] 1..5).perl
<p6eval> niecza v16-23-gaa61ed5: OUTPUT«any(1, 2, 3, 4, 5)␤»
<p6eval> ..pugs: OUTPUT«(1 | 2 | 3 | 4 | 5)␤»
<p6eval> ..rakudo 110f35: OUTPUT«any(any(any(any(1, 2), 3), 4), 5)␤»
<TimToady> rakudobug
* masak submits any(any(any(any(1, 2), 3), 4), 5) rakudobug



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