Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2bfa710e5d95
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b7f434d0852f
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Mar 16, 2017

  1. Copy the full SHA
    f6d06f4 View commit details

Commits on Mar 17, 2017

  1. Merge pull request #4534 from headius/fix-4532-each_entry

    Don't yieldSpecific to allow arrays through normal block params.
    headius authored Mar 17, 2017
    Copy the full SHA
    b7f434d View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/org/jruby/RubyEnumerable.java
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyEnumerable.java
Original file line number Diff line number Diff line change
@@ -1085,7 +1085,7 @@ public static IRubyObject each_entry(ThreadContext context, final IRubyObject se
public static IRubyObject each_entryCommon(ThreadContext context, final IRubyObject self, final IRubyObject[] args, final Block block) {
callEach(context.runtime, context, self, args, Signature.OPTIONAL, new BlockCallback() {
public IRubyObject call(ThreadContext ctx, IRubyObject[] largs, Block blk) {
return block.yieldSpecific(ctx, packEnumValues(ctx, largs));
return block.yield(ctx, packEnumValues(ctx, largs));
}
});
return self;