mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
98d52beba3
Refines comment for array utility function.
9 lines
195 B
Solidity
9 lines
195 B
Solidity
contract C {
|
|
function test() public {
|
|
uint[] memory data;
|
|
data.pop();
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (74-82): Member "pop" is not available in uint256[] memory outside of storage.
|