solidity/test/libsolidity/syntaxTests/types/mapping/function_type_argument_array.sol

7 lines
222 B
Solidity
Raw Normal View History

2020-06-07 16:00:52 +00:00
contract test {
function f(mapping(uint => uint)[2] memory b) internal {
}
}
// ----
// TypeError 4061: (31-64): Type mapping(uint256 => uint256)[2] is only valid in storage because it contains a (nested) mapping.