Commit 654ae20
authored
Fix crash when checking slice expression with step 0 in tuple index (#18063)
Fixes #18062
I plan to follow up with another PR that adds a better error messages
for slice expressions with `step=0` when indexing standard containers
that disallow that.1 parent c7c4288 commit 654ae20
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2502 | 2502 | | |
2503 | 2503 | | |
2504 | 2504 | | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
2505 | 2508 | | |
2506 | 2509 | | |
2507 | 2510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1438 | 1438 | | |
1439 | 1439 | | |
1440 | 1440 | | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
1441 | 1447 | | |
1442 | 1448 | | |
1443 | 1449 | | |
| |||
0 commit comments