Commit d00ea62
committed
[Bugfix] Allow constant folding of 0U - 0U
A check for unsigned integer overflow would throw an error if it
encountered 0U - 0U.
#10484, which introduced the check,
and #9727, which introduced this
edge case, were in CI at the same time, and each was tested against a
merge candidate that did not include the other. The unittest failure
only occurred when both PRs were merged.1 parent 7688db7 commit d00ea62
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
0 commit comments