Remove unnecessary record

This commit is contained in:
Boolean-True 2024-05-01 11:09:55 +02:00
parent 63246b815a
commit 87766d28c0
2 changed files with 1 additions and 12 deletions

View File

@ -36,7 +36,7 @@ public class ExpressionGenerator extends DecafBaseVisitor<Expression> {
Expression astExpr = expr.accept(this);
args.add(astExpr);
}
return new MethodCallExpression(id, args);
return new MethodCall(id, args);
}
@Override

View File

@ -1,11 +0,0 @@
package de.maishai.ast.records;
import de.maishai.ast.Expression;
import de.maishai.ast.Statement;
import java.util.List;
public record MethodCallExpression(Id id, List<Expression> args) implements Expression, Statement {
}