Fix yul codegen bug when using binary negatition.

This commit is contained in:
Mathias Baumann
2021-06-29 17:41:03 +02:00
parent ccad22bafa
commit c47d02066c
5 changed files with 25 additions and 8 deletions
@@ -0,0 +1,11 @@
contract C {
function f() public returns (bool) {
return
0 <
~~84926290883049832306107864558384249403874903260938453235235091622489261765859;
}
}
// ====
// compileViaYul: also
// ----
// f() -> true