solidity/test/libsolidity/syntaxTests/errors/assert_with_error.sol
2021-02-11 14:18:04 +01:00

7 lines
190 B
Solidity

error E();
function f() pure {
assert(E());
}
// ----
// TypeError 9553: (42-45): Invalid type for argument in function call. Invalid implicit conversion from tuple() to bool requested.