solidity/test/libsolidity/syntaxTests/errors/assert_with_error.sol

7 lines
190 B
Solidity
Raw Normal View History

2021-01-28 11:56:22 +00:00
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.