Skip to content

Commit

Permalink
Fix closure() not cloning variables when inside an iclosure()
Browse files Browse the repository at this point in the history
  • Loading branch information
PseudoKnight committed Mar 9, 2016
1 parent 05c1adb commit 51ce05a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void execute(Construct... values) throws ConfigRuntimeException, ProgramF
environment = env.clone();
env.getEnv(GlobalEnv.class).setCloneVars(prev);
}
environment.getEnv(GlobalEnv.class).GetVarList().clear();
environment.getEnv(GlobalEnv.class).setCloneVars(true);
if (values != null) {
for (int i = 0; i < names.length; i++) {
String name = names[i];
Expand Down

0 comments on commit 51ce05a

Please sign in to comment.