Skip to content

Commit

Permalink
Restore lost yieldValues body.
Browse files Browse the repository at this point in the history
headius committed Mar 21, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f1a357e commit 6902809
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/java/org/jruby/ir/targets/YieldSite.java
Original file line number Diff line number Diff line change
@@ -67,4 +67,8 @@ public IRubyObject yield(ThreadContext context, Block block, IRubyObject arg) {
public IRubyObject yieldSpecific(ThreadContext context, Block block) {
return IRRuntimeHelpers.yieldSpecific(context, block);
}

public IRubyObject yieldValues(ThreadContext context, Block block, IRubyObject[] args) {
return block.yieldValues(context, args);
}
}

0 comments on commit 6902809

Please sign in to comment.