Skip to content

Commit 1fd7f29

Browse files
committed
Correction to freshcoderef.
1 parent 14266b9 commit 1fd7f29

File tree

1 file changed

+1
-0
lines changed
  • src/vm/jvm/runtime/org/perl6/nqp/runtime

1 file changed

+1
-0
lines changed

src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2694,6 +2694,7 @@ public static SixModelObject freshcoderef(SixModelObject code, ThreadContext tc)
26942694
throw ExceptionHandling.dieInternal(tc, "freshcoderef must be used on a CodeRef");
26952695
CodeRef clone = (CodeRef)code.clone(tc);
26962696
clone.staticInfo = clone.staticInfo.clone();
2697+
clone.staticInfo.staticCode = clone;
26972698
return clone;
26982699
}
26992700
public static SixModelObject markcodestatic(SixModelObject code, ThreadContext tc) {

0 commit comments

Comments
 (0)