On 29 Oct 2013, at 13:34, Will Coleda (via RT) <perl6-bugs-follo...@perl.org> wrote: > # New Ticket Created by Will Coleda > # Please include the string: [perl #120407] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=120407 > > > > S02-types/baghash.t has a test that creates a BagHash, .grab's some items > from it. The final tests in the block are: > > is $b.total, 0, '.grab *should* change BagHash'; > is $b.elems, 0, '.grab *should* change BagHash'; > > The first test passes, but the second fails - .elems returns 2 - there were 3 > elements to start with, and 2 .grabs - looks like the first one is correctly > updating .elems, but future ones are not.
Is this on the JVM or on Parrot? I don't see the failure on Parrot. Liz