-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle additional edge cases for
evalConstantExpr()
(#230)
* Handle additional edge cases for evalConstantExpr(): support Buffer values (for hex literals) in unary math ops. * Introduce castToType(). Tweak evalUnary() and evalBinary() to cover more edge-cases. Export utility functions for downstream. Add more edge-cases to tests. * review nit --------- Co-authored-by: Dimitar <dimitar.bounov@consensys.net>
- Loading branch information
1 parent
d598427
commit 6d3a438
Showing
3 changed files
with
409 additions
and
66 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
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
Oops, something went wrong.