Adjusts semantic tests to read-only array length.

This commit is contained in:
Erik Kundt
2019-11-19 21:11:14 +01:00
parent d05afb34d6
commit 7d6c0a50c2
11 changed files with 146 additions and 137 deletions
@@ -2,12 +2,12 @@ contract C {
mapping (uint => uint)[] a;
function n1(uint key, uint value) public {
a.length++;
a.push();
a[a.length - 1][key] = value;
}
function n2() public {
a.length++;
a.push();
}
function map(uint key) public view returns (uint) {