solidity/test/libsolidity/syntaxTests/errors/no_mappings.sol

7 lines
207 B
Solidity
Raw Normal View History

2021-01-28 11:56:22 +00:00
error MyError(mapping(uint => uint));
contract C {
error MyError2(mapping(uint => uint));
}
// ----
// TypeError 3448: (14-35): Type containing a (nested) mapping is not allowed as error parameter type.