Commit 47d72d9
authored
Fix
When slicing a Range with step > 1 using a slice range that also has
step > 1, the formula for calculating the step in the slicer function
was incorrect.Enum.slice/2 for ranges with step > 1 sliced by step > 1 (#15144)1 parent 9a663cf commit 47d72d9
2 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5224 | 5224 | | |
5225 | 5225 | | |
5226 | 5226 | | |
5227 | | - | |
| 5227 | + | |
5228 | 5228 | | |
5229 | 5229 | | |
5230 | 5230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2341 | 2341 | | |
2342 | 2342 | | |
2343 | 2343 | | |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
| 2349 | + | |
| 2350 | + | |
| 2351 | + | |
| 2352 | + | |
| 2353 | + | |
2344 | 2354 | | |
2345 | 2355 | | |
2346 | 2356 | | |
| |||
0 commit comments