> On 05 Jan 2016, at 09:05, Lloyd Fournier (via RT) > <perl6-bugs-follo...@perl.org> wrote: > > # New Ticket Created by Lloyd Fournier > # Please include the string: [perl #127166] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=127166 > > > > <one two three>.map({$_}) ~~ set(<two three one>) > > This Seq has already been iterated, and its values consumed (you might > solve this by addding .cache on usages of the Seq, or by assigning the Seq > into an array) > > Although this might not be a bug per-se I don't think this is a nice thing > to do to users so this ticket is to suggest that Setty.ACCEPTS can be > implemented to stop this happening.
Fixed with d1ff735 , tests added with b774bcc , can be closed Liz