diff options
Diffstat (limited to 'src/ast/nodes/ParamlistNode.java')
-rw-r--r-- | src/ast/nodes/ParamlistNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/ParamlistNode.java b/src/ast/nodes/ParamlistNode.java index cf75d08..e8c9a42 100644 --- a/src/ast/nodes/ParamlistNode.java +++ b/src/ast/nodes/ParamlistNode.java @@ -18,7 +18,7 @@ public class ParamlistNode implements Node { @Override public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) { - ArrayList<SemanticError> errors = new ArrayList(); + ArrayList<SemanticError> errors = new ArrayList<>(); for (var param : params) { errors.addAll(param.checkSemantics(ST, _nesting)); |