summaryrefslogtreecommitdiff
path: root/src/ast/nodes/ExprListNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/nodes/ExprListNode.java')
-rw-r--r--src/ast/nodes/ExprListNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/ExprListNode.java b/src/ast/nodes/ExprListNode.java
index 800f4be..4760db8 100644
--- a/src/ast/nodes/ExprListNode.java
+++ b/src/ast/nodes/ExprListNode.java
@@ -18,7 +18,7 @@ public class ExprListNode implements Node {
@Override
public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) {
- ArrayList<SemanticError> errors = new ArrayList();
+ ArrayList<SemanticError> errors = new ArrayList<>();
for (var expr : exprs) {
errors.addAll(expr.checkSemantics(ST, _nesting));