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

Minor fix of warning

parent 5daedd31
No related branches found
No related tags found
No related merge requests found
...@@ -85,7 +85,7 @@ public final class QIRTranslateVisitor implements RSyntaxNodeVisitor<QIRNode> { ...@@ -85,7 +85,7 @@ public final class QIRTranslateVisitor implements RSyntaxNodeVisitor<QIRNode> {
final RNode value = ((WriteLocalFrameVariableNode) child).getRhs(); final RNode value = ((WriteLocalFrameVariableNode) child).getRhs();
// If the assignment value reads an argument, then we translate to a lambda. // If the assignment value reads an argument, then we translate to a lambda.
result = new QIRLambda(dummy, null, new QIRVariable(dummy, (String) ((WriteLocalFrameVariableNode) child).getName(), null), result, new FrameDescriptor()); result = new QIRLambda(dummy, null, new QIRVariable(dummy, ((WriteLocalFrameVariableNode) child).getName(), null), result, new FrameDescriptor());
// Else we apply STRAD-ASSIGN-ID normally // Else we apply STRAD-ASSIGN-ID normally
if (!(value instanceof AccessArgumentNode)) if (!(value instanceof AccessArgumentNode))
result = new QIRApply(dummy, result, value.asRSyntaxNode().accept(this)); result = new QIRApply(dummy, result, value.asRSyntaxNode().accept(this));
......
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