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: 77562cbc1f4e
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 33526eea1e23
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Mar 3, 2017

  1. Copy the full SHA
    82a2634 View commit details
  2. Merge pull request #4521 from headius/fix-4477

    Use actual impl module to test bindability. Fixes #4477.
    headius authored Mar 3, 2017
    Copy the full SHA
    33526ee View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/org/jruby/RubyUnboundMethod.java
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyUnboundMethod.java
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@ public RubyBoolean op_equal(ThreadContext context, IRubyObject other) {
public RubyMethod bind(ThreadContext context, IRubyObject aReceiver) {
RubyClass receiverClass = aReceiver.getMetaClass();

receiverClass.checkValidBindTargetFrom(context, originModule);
receiverClass.checkValidBindTargetFrom(context, implementationModule);

return RubyMethod.newMethod(implementationModule, methodName, receiverClass, originName, method, aReceiver);
}