Skip to content
This repository
Browse code

Fix inheritance of an outer class by an inner class

  • Loading branch information...
commit 616e8ac5ece6449e774f8691603cc93bb0853650 1 parent 000cc77
sorear authored October 29, 2011
1  lib/CodeGen.cs
@@ -4074,7 +4074,6 @@ public class DowncallReceiver : CallReceiver {
4074 4074
                 string err = st.mo.Compose();
4075 4075
                 if (err != null)
4076 4076
                     return new Exception(err);
4077  
-                st.Invalidate();
4078 4077
                 return null;
4079 4078
             } else if (cmd == "type_kind") {
4080 4079
                 STable st = (STable)Handle.Unbox(args[1]);
4  lib/ObjModel.cs
@@ -591,6 +591,8 @@ public class DispatchSet {
591 591
             if (rtype == "role" || rtype == "prole") {
592 592
                 isRole = true;
593 593
                 SetMRO(Kernel.AnyMO.mo.mro);
  594
+                Revalidate();
  595
+                stable.SetupVTables();
594 596
                 return null;
595 597
             }
596 598
 
@@ -622,6 +624,8 @@ public class DispatchSet {
622 624
             foreach (string an in stable.all_slot) {
623 625
                 stable.slotMap[an] = stable.nslots++;
624 626
             }
  627
+            Revalidate();
  628
+            stable.SetupVTables();
625 629
             return null;
626 630
         }
627 631
 

0 notes on commit 616e8ac

Please sign in to comment.
Something went wrong with that request. Please try again.