Author: jonathan
Date: Sun Mar 25 17:39:05 2007
New Revision: 17748

Modified:
   trunk/src/pmc/class.pmc

Log:
[PDD15]: Fix - was passing struct rather than PMC to MRO computation function.

Modified: trunk/src/pmc/class.pmc
==============================================================================
--- trunk/src/pmc/class.pmc     (original)
+++ trunk/src/pmc/class.pmc     Sun Mar 25 17:39:05 2007
@@ -352,7 +352,7 @@
         if (!class->instantiated) {
             /* Build full parents list.
              * XXX Need pluggable MRO, for now always do C3. */
-            class->all_parents = Parrot_ComputeMRO_C3(interp, class);
+            class->all_parents = Parrot_ComputeMRO_C3(interp, SELF);
 
             /* Build attributes index. */
             Parrot_Class_build_attrib_index(interp, SELF);

Reply via email to