julia
20e8f461 - Fix assumption about underflow on `AbstractUnitrange{<:Unsigned}` (#42632)

Commit
4 years ago
Fix assumption about underflow on `AbstractUnitrange{<:Unsigned}` (#42632) As mentioned in #42528 after the initial PR, just removing `ifelse` is not enough. This fixes the behavior for creating empty UnitRanges of unsigned integers to avoid assuming overflow is safe.
Author
Parents
Loading