Skip to content
Snippets Groups Projects
Commit 80339278 authored by Julien Lopez's avatar Julien Lopez
Browse files

Translating arguments in application of Truffle nodes

parent 3ca0a9de
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ public final class QIRSQLVisitor implements IQIRVisitor<String> { ...@@ -78,7 +78,7 @@ public final class QIRSQLVisitor implements IQIRVisitor<String> {
final String args = qirApply.getRight().accept(this); final String args = qirApply.getRight().accept(this);
if (left instanceof QIRTruffleNode) if (left instanceof QIRTruffleNode)
return "truffle.executeapply(" + fun + ", " + args + ")"; return "truffle.executeapply(" + fun + ", truffle.translate(" + args + "))";
return fun + "(" + args + ")"; return fun + "(" + args + ")";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment