solidity/test/libsolidity/syntaxTests/errors/no_mappings.sol
2022-04-01 23:41:18 -05:00

7 lines
231 B
Solidity

error MyError(mapping(uint => uint));
contract C {
error MyError2(mapping(uint => uint));
}
// ----
// TypeError 3448: (14-35='mapping(uint => uint)'): Type containing a (nested) mapping is not allowed as error parameter type.