Hi,
In message "Re: Hash#eql? and Hash#== in trunk"
on Wed, 28 Nov 2007 15:31:14 +0900, Gary Wright <gwtmp01 / mac.com> writes:
|In trunk it seems that Hash#eql? actually punts
|to Hash#==, which means that
|
| {1=>2}.eql?({1=>2.0}) # true
|
|is true even though 2.eql?(2.0) is false.
|
|Shouldn't Hash#eql? uses the stricter #eql?
|test on the values rather than the looser #== test?
It should. It's a bug. Thank you for the report.
matz.