Skip to content

Commit 2d94c8a

Browse files
committed
Simple test case for ReplacementDispatchNode that requires signatures via substitute.
1 parent fdf02ca commit 2d94c8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/builtins/TestBuiltin_substitute.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,6 @@ public void testSubstitute() {
150150
assertEval("{ foo <- function(...) bar(3+2); bar <- function(...) { list(...); substitute(list(...)); }; foo(1+2); }");
151151

152152
assertEval("typeof(substitute())");
153+
assertEval("substitute(`:=`(a=3,b=3))");
153154
}
154155
}

0 commit comments

Comments
 (0)