solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/587_event_param_type_outside_storage.sol

8 lines
421 B
Solidity
Raw Normal View History

contract c {
event e(uint indexed a, mapping(uint => uint) indexed b, bool indexed c, uint indexed d, uint indexed e) anonymous;
}
// ----
2020-06-07 16:00:52 +00:00
// TypeError 3448: (41-72): Type containing a (nested) mapping is not allowed as event parameter type.
// TypeError 3417: (41-72): Internal or recursive type is not allowed as event parameter type.
// TypeError 8598: (17-132): More than 4 indexed arguments for anonymous event.