-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing a method sort order bug that caused this ordering:
==(Rational{T<:Integer},Number) at rational.j:105 ==(T<:Number,T<:Number) at promotion.j:75 ==(Rational{T<:Integer},Integer) at rational.j:98 which in turn caused issue #354 together with the recent changes to unsigned integer arithmetic. This is tricky because while (Rational,Integer)<:(Rational,Number), (Rational,Number) has overlap with (T,T) but (Rational,Integer) doesn't. The new sort order is better, and exposed 2 new method ambiguities in rational which are also fixed here.
- Loading branch information
1 parent
f29d532
commit ad8be65
Showing
3 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters