[perl #130160] [BUG] Flattened list iteration

2016-11-24 Thread Zoffix Znet via RT
On Wed, 23 Nov 2016 17:15:41 -0800, TimTom wrote: > It appears that when iterating lazily through a list that's been > flattened (the first time), sometimes certain elements are not > reached. Thanks for the report. Fixed in https://github.com/rakudo/rakudo/commit/61a18c064695cfa16f31187abed62d1

Re: [perl #130160] [BUG] Flattened list iteration

2016-11-24 Thread Lucas Buchala
I found this results that may be related to this issue. Maybe there's some strange interaction between these List methods? > my @a := [0..2, 0..2].flat.cache; say @a (a b c a b c) > my @a := [0..2, 0..2].flat.cache; @a.Bool; @a.elems; say @a (a a b c) > my @a := [0..2, 0..2].flat.cache

[perl #130160] [BUG] Flattened list iteration

2016-11-23 Thread via RT
# New Ticket Created by Timothy Bollman # Please include the string: [perl #130160] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130160 > It appears that when iterating lazily through a list that's been flattened (the first