diff options
author | L0P0P <grassoemanuele@live.com> | 2024-06-29 09:54:08 +0200 |
---|---|---|
committer | L0P0P <grassoemanuele@live.com> | 2024-06-29 09:54:08 +0200 |
commit | aaa97e2e41c0aa17a6f99099dd39bb73a935fe02 (patch) | |
tree | b8145ba056534835a9315ac7603ba99413fd2fb5 /src/ast/nodes/ExprListNode.java | |
parent | 37665fb6d0bc1eb29396ae949354cf7d6f9d54ca (diff) |
Fixed some warnings
Diffstat (limited to 'src/ast/nodes/ExprListNode.java')
-rw-r--r-- | src/ast/nodes/ExprListNode.java | 2 |
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)); |