Commit 4ba1944a authored by Sarah Grebing's avatar Sarah Grebing

Bugfix for variable decllaration and assignment

parent f51974f3
Pipeline #17792 failed with stages
in 66 minutes and 54 seconds
......@@ -140,6 +140,7 @@ public class Interpreter<T> extends DefaultASTVisitor<Object>
if (fireVariableAssignmentHook(node, var.getIdentifier(), v)) {
node.setVariableValue(var, v);
}
node.setVariableValue(var, v);
}
}
exitScope(assignmentStatement);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment