solidity/test/libsolidity/syntaxTests/types/mapping/function_type_argument_array.sol
2020-06-30 16:53:41 +05:30

7 lines
222 B
Solidity

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.