Permalink
Browse files

Fix attribute initialization in BuildMostDerived()

  • Loading branch information...
1 parent fb775fb commit 026b8052eaf7dc4db8bda2749afa7241a1da4222 @sorear committed May 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Builtins.cs
View
@@ -2721,7 +2721,7 @@ class CrossSource: ItemSource {
Variable vx = null;
if (ai.init != null) {
vx = Kernel.RunInferior(ai.init.Invoke(Kernel.GetInferiorRoot(),
- Variable.None, null));
+ new [] { Kernel.NewROScalar(obj) }, null));
}
EstablishSlot(obj, ai, vx);
}

0 comments on commit 026b805

Please sign in to comment.