# New Ticket Created by  Alexander Moquin 
# Please include the string:  [perl #123674]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=123674 >


Tapping Supply.categorize(&key-generator) results in a key => Supply pair.
However, when the original supply is .done, the Supplies generated by the
.categorize are never .done.

The output of golf.p6 (attached) should end with each of the value supplies
having .done called on them, producing "Supply for key 1 done\nSupply for
key 2 done\n…"

>From IRC:

<moritz> Mouq: should it call .done of the sub-supplies before or after the
outer?
<Mouq> I'd say after, since that seems to be the case for other
supply-generating methods, but I don't really know. Although if you're
relying on the order that .done is called on Supplies, you're probably
doing something wrong :P

Attachment: golf.p6
Description: Binary data

Reply via email to