Permalink
Browse files

Give CLR class wrappers non-null HOW pointers (oops!)

  • Loading branch information...
sorear committed Jan 29, 2012
1 parent 7b72ce0 commit f072aabf719180116e393d32198e25419596883e
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/NieczaCLR.cs
View
@@ -656,6 +656,7 @@ public class CLRWrapperProvider {
Console.WriteLine("Setting up wrapper for {0}", t.FullName);
STable m = new STable("CLR::" + t.FullName.Replace(".","::"));
m.who = StashCursor.MakeCLR_WHO("." + t.FullName);
+ m.how = Kernel.BoxRaw(m, Kernel.ClassHOWMO);
STable pm = t.BaseType == null ? Kernel.AnyMO :
GetWrapper(t.BaseType);
STable[] mro = new STable[pm.mo.mro.Length + 1];

0 comments on commit f072aab

Please sign in to comment.