blob: c1e3108bd78c81aadc5f6d65e2eeed8f4f4af7fd (
plain) (
tree)
|
|
contract B {
function f() mod1(true) public { }
modifier mod1(uint a) { if (a > 0) _; }
}
// ----
// TypeError: (35-39): Invalid type for argument in modifier invocation. Invalid implicit conversion from bool to uint256 requested.
|