diff options
author | Emanuele Grasso <96300448+L0P0P@users.noreply.github.com> | 2024-07-06 09:47:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-06 09:47:25 +0200 |
commit | f0692ff5f9e39cbd1c203e9d5abebf55a3d0f6fc (patch) | |
tree | 36518af3f04a751ba5bb8158c3f005cfa3e8c7c3 /src/ast/nodes/AugassignNode.java | |
parent | 8aa8b5834953cab15c0687608f4fafea2e6c61be (diff) |
Fixed the print of the ast and some warnings (#19)
Co-authored-by: Santo Cariotti <santo@dcariotti.me>
Diffstat (limited to 'src/ast/nodes/AugassignNode.java')
-rw-r--r-- | src/ast/nodes/AugassignNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/AugassignNode.java b/src/ast/nodes/AugassignNode.java index 7ced63e..aef60cc 100644 --- a/src/ast/nodes/AugassignNode.java +++ b/src/ast/nodes/AugassignNode.java @@ -21,7 +21,7 @@ public class AugassignNode implements Node { @Override public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) { - return new ArrayList(); + return new ArrayList<>(); } // FIXME: use the right type |