add missing semicolong since a destructor call is now a statement

This commit is contained in:
2020-03-05 22:08:20 +01:00
parent 86fe676492
commit b9569c7df6

View File

@@ -440,7 +440,7 @@ public class PrettyPrintVisitor implements Visitor<Void> {
@Override
public Void visit(DestructorCall e) {
ex.write("destroy " + e.name);
ex.write("destroy " + e.name + ";");
return null;
}