Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain Fourny committed Jul 12, 2024
1 parent 0fea179 commit 8c0f5de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public Node visitMainModule(MainModule mainModule, Node argument) {
this.projectionPushdownDetectionVisitor.visit(mainModule, null);
MainModule result = new MainModule(
mainModule.getProlog(),
(Program) visit(mainModule.getExpression(), mainModule.getProlog()),
(Program) visit(mainModule.getProgram(), mainModule.getProlog()),
mainModule.getMetadata()
);
result.setStaticContext(mainModule.getStaticContext());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected Node defaultAction(Node node, Node argument) {
public Node visitMainModule(MainModule mainModule, Node argument) {
MainModule result = new MainModule(
(Prolog) visit(mainModule.getProlog(), argument),
(Program) visit(mainModule.getExpression(), mainModule.getProlog()),
(Program) visit(mainModule.getProgram(), mainModule.getProlog()),
mainModule.getMetadata()
);
result.setStaticContext(mainModule.getStaticContext());
Expand Down

0 comments on commit 8c0f5de

Please sign in to comment.