Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #75674] [BUG] [TODO] Make 4 ... 0, 1, 2, 3, 4 (an infix:<...> with a list to the right) do the right thing in Rakudo

10 views
Skip to first unread message

Carl Mäsak

unread,
Jun 11, 2010, 9:07:33 AM6/11/10
to bugs-bi...@rt.perl.org
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #75674]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75674 >


<moritz_> rakudo: say (4...^5).perl
<p6eval> rakudo d59da8: OUTPUT«(4, 3, 2, 1)␤»
<moritz_> now I'm confused
<moritz_> rakudo: say (4 ... 0, 1, 2, 3, 4).perl
<p6eval> rakudo d59da8: OUTPUT«(4, 3, 2, 1)␤»
<moritz_> why does it throw away all those additional values? bug?
<moritz_> colomon, any idea?
<masak> I'd say it's a bug, yes.
<moritz_> masak: care to submit it?
* masak submits it
<moritz_> masak: btw I found it while checking an older bug report of
yours, RT #72912
<colomon> oh, that's easy. bug
<colomon> well, NYI
<moritz_> ok
<masak> I'll include that in the ticket.

Expected output from both these are, IIUC, (4, 3, 2, 1, 0, 1, 2, 3, 4).

Will Coleda via RT

unread,
Nov 13, 2012, 11:09:22 PM11/13/12
to perl6-c...@perl.org
On Sat Jun 12 08:35:16 2010, jn...@jnthn.net wrote:
> On Sat Jun 12 08:16:42 2010, dimid wrote:
> > fix for this bug into attach
>
> Patch applied, awaiting test coverage.
>
> Jonathan

Tests added to S03-sequence/basic.t (with minor whitespace tweak from TimToady++);

--
Will "Coke" Coleda
0 new messages