Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ir/IRBuilder.java
Original file line number Diff line number Diff line change
@@ -231,7 +231,7 @@ public void cloneIntoHostScope(IRBuilder builder) {

// $! should be restored before the ensure block is run
if (savedGlobalException != null) {
addInstr(new PutGlobalVarInstr("$!", savedGlobalException));
builder.addInstr(new PutGlobalVarInstr("$!", savedGlobalException));
}

// Clone instructions now

0 comments on commit d2f080e

Please sign in to comment.