diff options
author | Santo Cariotti <santo@dcariotti.me> | 2024-06-25 11:33:41 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2024-06-25 11:33:41 +0200 |
commit | 6bdf1fc6c1b7afe18ffcae05f8fb11eca0f51258 (patch) | |
tree | 2cfbae97d45388bac38defc9907c77e7b275b207 /src/ast/nodes/ParamlistNode.java | |
parent | 54b2c77e6875c1abb3d73fdfd0de924e75633087 (diff) |
wip
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 144eb13..a097c19 100644 --- a/src/ast/nodes/ParamlistNode.java +++ b/src/ast/nodes/ParamlistNode.java @@ -21,7 +21,7 @@ public class ParamlistNode implements Node { ArrayList<SemanticError> errors = new ArrayList<SemanticError>(); for (var param : params) { - errors.addAll(param.checkSemantics(ST, _nesting)); + errors.addAll(param.checkSemantics(ST, _nesting + 1)); } return errors; |