==: Fix to compare with address prefix#69
Conversation
|
I agree this is a bug but actually this behaviour is long-standing, so I'm slightly afraid of introducing incompatibility |
@sorah Sure, It changes existing behavior. I think it needs to fix this bug even if changing behavior, because if not fix this bug for considered incompatibility, it will be a more serious incompatibility. |
|
The test case has been there since the very beginning, so I believe this behavior is as intended by the original author Umemoto-san. I'd like to see a new strict equality method added rather than breaking compatibility. |
|
I think we already have |
|
@knu Thanks for the comments. And I found the same issues in Ruby Issue Tracking System. |
It fixes to compare with an address prefix for == method.
It return false when compared with a different address prefix.
Fix #21