# New Ticket Created by  Klaas-Jan Stol 
# Please include the string:  [perl #42045]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42045 >


hi,

attached a patch that adds a return statement to clone in iterator.pmc 
(which was obviously forgotten?)

regards,
kjs
Index: src/pmc/iterator.pmc
===================================================================
--- src/pmc/iterator.pmc	(revision 17707)
+++ src/pmc/iterator.pmc	(working copy)
@@ -99,6 +99,7 @@
         PMC * const key = PMC_struct_val(SELF);
         PMC *res = pmc_new_init(INTERP, SELF->vtable->base_type, PMC_pmc_val(SELF));
         PMC_struct_val(res) = VTABLE_clone(interp, key);
+        return res;
     }
 
 /*

Reply via email to