-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes type unification on binary operation application (#1486)
In #1422 the preconditions of Bil.Apply.binop were relaxed to allow operands of different types. This introduced a subtle bug wrt the shifting operations, in particular when the shift right-hand side operand was larger then the left-hand one, the latter was extended and the resulting type and value was incorrect.
- Loading branch information
Showing
1 changed file
with
22 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters