Skip to content

Commit

Permalink
[Truffle] Proc#yield
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Apr 22, 2015
1 parent d574af6 commit 5385f46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions spec/truffle/tags/core/proc/yield_tags.txt

This file was deleted.

Expand Up @@ -75,7 +75,7 @@ public Object binding(RubyProc proc) {

}

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

@Child private YieldDispatchHeadNode yieldNode;
Expand Down

0 comments on commit 5385f46

Please sign in to comment.