Skip to content

Commit

Permalink
Invalidate replaced variable in case it has been cached
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Nov 3, 2023
1 parent e4f6aea commit 1b4875d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public void alias(String name, String oldName) {
throw RaiseException.from(runtime, runtime.getRuntimeError(), "can't alias in tracer");
}

variable.invalidate();
globalVariables.put(name, oldVariable);
}

Expand Down

0 comments on commit 1b4875d

Please sign in to comment.