Merge pull request #10187 from ethereum/validateExternal

[SolYul] Properly validate external functions from calldata.
This commit is contained in:
chriseth
2020-11-03 14:29:28 +01:00
committed by GitHub
2 changed files with 33 additions and 24 deletions
@@ -16,6 +16,8 @@ contract C {
return (this.ggg(s.f), this.h(s));
}
}
// ====
// compileViaYul: also
// ----
// ffff(uint256): 0 -> 0, 0
// ggg(function): 0 -> 0