From: "Eregon (Benoit Daloze)" Date: 2022-03-30T16:56:00+00:00 Subject: [ruby-core:108123] [Ruby master Bug#18671] ruby2_keywords_hash not #equal? to itself with __send__ Issue #18671 has been reported by Eregon (Benoit Daloze). ---------------------------------------- Bug #18671: ruby2_keywords_hash not #equal? to itself with __send__ https://bugs.ruby-lang.org/issues/18671 * Author: Eregon (Benoit Daloze) * Status: Open * Priority: Normal * ruby -v: ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux] * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- ```ruby h = {a: 1} h = Hash.ruby2_keywords_hash(h) args = [h] p h.equal?(h) # => true p h.__send__(:equal?, *args) # => false ``` -- https://bugs.ruby-lang.org/ Unsubscribe: