Skip to content

Commit 5385f46

Browse files
committed
[Truffle] Proc#yield
1 parent d574af6 commit 5385f46

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

spec/truffle/tags/core/proc/yield_tags.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.

truffle/src/main/java/org/jruby/truffle/nodes/core/ProcNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public Object binding(RubyProc proc) {
7575

7676
}
7777

78-
@CoreMethod(names = {"call", "[]"}, argumentsAsArray = true, needsBlock = true)
78+
@CoreMethod(names = {"call", "[]", "yield"}, argumentsAsArray = true, needsBlock = true)
7979
public abstract static class CallNode extends CoreMethodNode {
8080

8181
@Child private YieldDispatchHeadNode yieldNode;

0 commit comments

Comments
 (0)