Method#== returns false for aliased methods that should be equal to the original method.
Reproduction Steps
Create test.rb:
class Test
def a; end
alias b a
end
t = Test.new
p(t.method(:b) == t.method(:a))
Current behavior (mruby):
$ ./bin/mruby test.rb
false
Expected behavior (CRuby):
Method#== returns false for aliased methods that should be equal to the original method.
Reproduction Steps
Create test.rb:
Current behavior (mruby):
$ ./bin/mruby test.rb falseExpected behavior (CRuby):
$ ruby test.rb true