Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Coderefs should have SC set when added to one.
  • Loading branch information
jnthn committed Mar 9, 2013
1 parent cfff5e2 commit bb1ccc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/perl6/nqp/runtime/Ops.java
Expand Up @@ -2291,6 +2291,7 @@ public static SixModelObject scsetcode(SixModelObject scRef, long idx, SixModelO
roots.add((CodeRef)obj);
else
roots.set((int)idx, (CodeRef)obj);
obj.sc = ((SCRefInstance)scRef).referencedSC;
return obj;
}
else {
Expand Down

0 comments on commit bb1ccc4

Please sign in to comment.