Merge pull request #10950 from ethereum/removeChecks

[SolYul] Remove (hopefully) unnecessary checks.
This commit is contained in:
chriseth
2021-02-11 14:10:05 +01:00
committed by GitHub
2 changed files with 18 additions and 11 deletions
@@ -0,0 +1,17 @@
pragma abicoder v2;
struct Item {uint x;}
library L {
event Ev(Item);
function o() public { emit L.Ev(Item(1)); }
}
contract C {
function f() public {
L.o();
}
}
// ====
// compileViaYul: also
// ----
// library: L
// f() ->