Commit 861b62b
Fix not_int for Core.Const(false): use logical NOT, not bitwise
In unoptimized IR, the === comparison result type can be
Core.Const(false) instead of Bool. Check both for logical NOT.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 637cc49 commit 861b62b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1735 | 1735 | | |
1736 | 1736 | | |
1737 | 1737 | | |
1738 | | - | |
| 1738 | + | |
| 1739 | + | |
1739 | 1740 | | |
1740 | 1741 | | |
1741 | 1742 | | |
| |||
0 commit comments