mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjusts compilation tests to read-only array length.
This commit is contained in:
@@ -227,7 +227,7 @@ contract MilestoneTracker {
|
||||
|
||||
RLP.RLPItem memory itmProposal = itrProposals.next();
|
||||
|
||||
Milestone storage milestone = milestones[milestones.length ++];
|
||||
Milestone storage milestone = milestones.push();
|
||||
|
||||
if (!itmProposal.isList()) revert();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user