summaryrefslogtreecommitdiff
path: root/src/ast/nodes/TestlistCompNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/nodes/TestlistCompNode.java')
-rw-r--r--src/ast/nodes/TestlistCompNode.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast/nodes/TestlistCompNode.java b/src/ast/nodes/TestlistCompNode.java
index cba056c..32049f5 100644
--- a/src/ast/nodes/TestlistCompNode.java
+++ b/src/ast/nodes/TestlistCompNode.java
@@ -10,8 +10,8 @@ import semanticanalysis.SymbolTable;
*/
public class TestlistCompNode implements Node {
- private ArrayList<Node> exprs;
- private CompForNode comp;
+ private final ArrayList<Node> exprs;
+ private final CompForNode comp;
public TestlistCompNode(ArrayList<Node> exprs, Node comp) {
this.exprs = exprs;