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


In classes/float.pmc, the MMD_DEFAULT branch of i_subtract tries to
return a value, even though the function is defined as 'void'.

I haven't worked my way through the pmc generation stuff to be certain
this is the right patch, but it will at least compile.

--- parrot-current/classes/float.pmc    Mon Apr 18 11:22:52 2005
+++ parrot-andy/classes/float.pmc       Wed Apr 20 08:58:44 2005
@@ -245,11 +245,11 @@
     void i_subtract (PMC* value) {
 MMD_Complex: {
             Parrot_scalar_i_subtract_Complex(interpreter, SELF, value);
         }
 MMD_DEFAULT: {
-            return SUPER(value);  /* XXX inheritance problem */
+            SUPER(value);  /* XXX inheritance problem */
         }
     }
 
 /*
 

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to