From f0692ff5f9e39cbd1c203e9d5abebf55a3d0f6fc Mon Sep 17 00:00:00 2001 From: Emanuele Grasso <96300448+L0P0P@users.noreply.github.com> Date: Sat, 6 Jul 2024 09:47:25 +0200 Subject: Fixed the print of the ast and some warnings (#19) Co-authored-by: Santo Cariotti --- src/ast/nodes/AugassignNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ast/nodes/AugassignNode.java') 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 checkSemantics(SymbolTable ST, int _nesting) { - return new ArrayList(); + return new ArrayList<>(); } // FIXME: use the right type -- cgit v1.2.3-18-g5258