From 22fcfb0ab8e08c20598881ad13522cdb0f159472 Mon Sep 17 00:00:00 2001
From: Lukas Stadler <lukas.stadler@oracle.com>
Date: Thu, 10 Dec 2015 11:42:34 +0100
Subject: [PATCH] fix super call in FunctionStatementsNode.substituteImpl

---
 .../oracle/truffle/r/nodes/function/FunctionStatementsNode.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/function/FunctionStatementsNode.java b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/function/FunctionStatementsNode.java
index cfb8bc2d58..cc17159ec3 100644
--- a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/function/FunctionStatementsNode.java
+++ b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/function/FunctionStatementsNode.java
@@ -45,7 +45,7 @@ public class FunctionStatementsNode extends BlockNode {
 
     @Override
     public RSyntaxNode substituteImpl(REnvironment env) {
-        return new FunctionStatementsNode(null, super.substitute(env));
+        return new FunctionStatementsNode(null, super.substituteImpl(env));
     }
 
 }
-- 
GitLab