mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
204 B
Solidity
9 lines
204 B
Solidity
|
contract C {
|
||
|
mapping(uint => uint[]) map;
|
||
|
function f() public {
|
||
|
map[0].length = 4;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (80-93): Member "length" is read-only and cannot be used to resize arrays.
|