solidity/test/libsolidity/syntaxTests/modifiers/illegal_modifier_override.sol
2018-04-11 22:00:21 +02:00

5 lines
160 B
Solidity

contract A { modifier mod(uint a) { _; } }
contract B is A { modifier mod(uint8 a) { _; } }
// ----
// TypeError: (61-89): Override changes modifier signature.