julia
fd8b2abb
- promote ranges to the largest of the the start, step, or length (as applicable) (#43059)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
4 years ago
promote ranges to the largest of the the start, step, or length (as applicable) (#43059) Be careful to use `oneunit` instead of `1`, so that arithmetic on user-given types does not promote first to Int. Fixes #35711 Fixes #10554
References
#43059 - RFC: promote ranges to the largest of the the start, step, or length (as applicable)
Author
vtjnash
Parents
08ff4563
Loading