solidity/test/libsolidity/syntaxTests/errors/assert_with_error.sol
2021-03-30 21:15:18 +02: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.