Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The fix for 18631 broke code. Ranges cannot be marked with const or inout in generic code. The range API does not require that any functions be const or inout. In this case, with the changes, choice requires that length and opSlice be const, breaking any code that uses a range with choice that does not have a const length or opSlice (which is going to be a large percentage of ranges with those functions which aren't arrays).
- Loading branch information