Actions
Bug #11425
closedsuper_method fails to find the super method when combined with Module#prepend
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0dev (2015-08-09 trunk 51513) [x86_64-darwin14]
Description
super_method
now fails to find the target method of Module#prepend
maybe since 51501 https://github.com/ruby/ruby/commit/6b7c4df
class C; def a() end end
module M def a() end end
C.prepend M
p C.instance_method(:a).super_method
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
#=> #<UnboundMethod: Object(C)#a>
ruby 2.3.0dev (2015-08-09 trunk 51513) [x86_64-darwin14]
#=> nil
Files
Actions
Like0
Like0Like0Like0Like0