https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112022-08-20T12:06:16ZRuby Issue Tracking SystemRuby master - Feature #18969: Compare only method definitions for Method#== and UnboundMethod#==https://redmine.ruby-lang.org/issues/18969?journal_id=987692022-08-20T12:06:16ZEregon (Benoit Daloze)
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/18751">Bug #18751</a>: Regression on master for Method#== when comparing public with private method</i> added</li></ul> Ruby master - Feature #18969: Compare only method definitions for Method#== and UnboundMethod#==https://redmine.ruby-lang.org/issues/18969?journal_id=987812022-08-20T16:21:54Zko1 (Koichi Sasada)
<ul></ul><p>Same as <a href="https://bugs.ruby-lang.org/issues/18798" class="external">https://bugs.ruby-lang.org/issues/18798</a> ?</p> Ruby master - Feature #18969: Compare only method definitions for Method#== and UnboundMethod#==https://redmine.ruby-lang.org/issues/18969?journal_id=987822022-08-20T19:44:16ZEregon (Benoit Daloze)
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/18798">Feature #18798</a>: `UnboundMethod#==` with inherited classes</i> added</li></ul> Ruby master - Feature #18969: Compare only method definitions for Method#== and UnboundMethod#==https://redmine.ruby-lang.org/issues/18969?journal_id=987842022-08-20T19:45:02ZEregon (Benoit Daloze)
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p><a class="user active user-mention" href="https://redmine.ruby-lang.org/users/17">@ko1 (Koichi Sasada)</a> Indeed, I'll mark this one as duplicate and close it, and I'll add your issue to the dev meeting.</p> Ruby master - Feature #18969: Compare only method definitions for Method#== and UnboundMethod#==https://redmine.ruby-lang.org/issues/18969?journal_id=987872022-08-20T19:52:21ZEregon (Benoit Daloze)
<ul></ul><p><a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: `UnboundMethod#==` with inherited classes (Closed)" href="https://redmine.ruby-lang.org/issues/18798">#18798</a> made me realize the proposed behavior makes sense for UnboundMethod#== but probably less for Method#== which probably should keep checking the receivers are the same.</p>