# 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.

-- 
Will "Coke" Coleda

Reply via email to