Skip to content

Commit 6902809

Browse files
committedMar 21, 2018
Restore lost yieldValues body.
1 parent f1a357e commit 6902809

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

Diff for: ‎core/src/main/java/org/jruby/ir/targets/YieldSite.java

+4
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,8 @@ public IRubyObject yield(ThreadContext context, Block block, IRubyObject arg) {
6767
public IRubyObject yieldSpecific(ThreadContext context, Block block) {
6868
return IRRuntimeHelpers.yieldSpecific(context, block);
6969
}
70+
71+
public IRubyObject yieldValues(ThreadContext context, Block block, IRubyObject[] args) {
72+
return block.yieldValues(context, args);
73+
}
7074
}

0 commit comments

Comments
 (0)