mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
358 B
Solidity
7 lines
358 B
Solidity
contract c {
|
|
function f1(mapping(uint => uint)[] calldata) pure external {}
|
|
}
|
|
// ----
|
|
// TypeError 4103: (29-61): Types containing (nested) mappings can only be parameters or return variables of internal or library functions.
|
|
// TypeError 4061: (29-61): Type mapping(uint256 => uint256)[] is only valid in storage because it contains a (nested) mapping.
|