mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-28 09:48:03 +00:00
Remove unnecessary record
This commit is contained in:
parent
63246b815a
commit
87766d28c0
@ -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
|
||||
|
@ -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 {
|
||||
}
|
Loading…
Reference in New Issue
Block a user