Merge pull request #10896 from ethereum/issue-10870

Fix issue with pop on storage array.
This commit is contained in:
chriseth
2021-02-23 17:49:17 +01:00
committed by GitHub
9 changed files with 73 additions and 56 deletions
@@ -0,0 +1,12 @@
contract C {
int[] data;
function f() public returns (uint) {
data.push(1);
(data.pop)();
return data.length;
}
}
// ====
// compileViaYul: also
// ----
// f() -> 0