-
-
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.
Improve support for ranges with nonstandard Integers (#27302)
* Improve support for nonstandard ranges. Make it so that an Integer subtype, say Position <: Integer, for which a difference is of a different type, say Displacement <: Integer, is properly handled in UnitRange, OneTo, and StepRange. * Remove : method that promotes step. * Add test for #26619, fix underflow bug, fix length computation. * Clean up steprange_last.
- Loading branch information
Showing
3 changed files
with
119 additions
and
21 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