Permalink
Browse files

Fix inheritance of an outer class by an inner class

  • Loading branch information...
1 parent 000cc77 commit 616e8ac5ece6449e774f8691603cc93bb0853650 @sorear committed Oct 29, 2011
Showing with 4 additions and 1 deletion.
  1. +0 −1 lib/CodeGen.cs
  2. +4 −0 lib/ObjModel.cs
View
1 lib/CodeGen.cs
@@ -4074,7 +4074,6 @@ public class DowncallReceiver : CallReceiver {
string err = st.mo.Compose();
if (err != null)
return new Exception(err);
- st.Invalidate();
return null;
} else if (cmd == "type_kind") {
STable st = (STable)Handle.Unbox(args[1]);
View
4 lib/ObjModel.cs
@@ -591,6 +591,8 @@ public class DispatchSet {
if (rtype == "role" || rtype == "prole") {
isRole = true;
SetMRO(Kernel.AnyMO.mo.mro);
+ Revalidate();
+ stable.SetupVTables();
return null;
}
@@ -622,6 +624,8 @@ public class DispatchSet {
foreach (string an in stable.all_slot) {
stable.slotMap[an] = stable.nslots++;
}
+ Revalidate();
+ stable.SetupVTables();
return null;
}

0 comments on commit 616e8ac

Please sign in to comment.