Repository navigation
Commit 826e0ad
[mypyc] feat: support constant folding in
This PR attempts to constant fold the index value in
`translate_index_expr`
I'm not sure any test changes are warranted for a small PR of this
nature.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>translate_index_expr [1/1] (#19972)1 parent f8ecfe5 commit 826e0ad
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
593 | | - | |
594 | | - | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
595 | 599 | | |
596 | 600 | | |
597 | 601 | | |
| |||
0 commit comments