-
-
Save headius/d0a7d699f4a48741add6acc338d0a3fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/src/main/java/org/jruby/runtime/Helpers.java b/core/src/main/java/org/jruby/runtime/Helpers.java | |
index 07ac5df306..7204facb7d 100644 | |
--- a/core/src/main/java/org/jruby/runtime/Helpers.java | |
+++ b/core/src/main/java/org/jruby/runtime/Helpers.java | |
@@ -923,7 +923,7 @@ public class Helpers { | |
public static RubyModule findImplementerIfNecessary(RubyModule clazz, RubyModule implementationClass) { | |
if (implementationClass.needsImplementer()) { | |
// modules are included with a shim class; we must find that shim to handle super() appropriately | |
- return clazz.findImplementer(implementationClass); | |
+ return clazz.findImplementer(implementationClass).getMethodLocation(); | |
} else { | |
// method is directly in a class, so just ensure we don't use any prepends | |
return implementationClass.getMethodLocation(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment