mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
222 B
Solidity
8 lines
222 B
Solidity
error E1(uint);
|
|
error E2();
|
|
function f() pure {
|
|
revert(E1(E2));
|
|
}
|
|
// ----
|
|
// TypeError 9553: (62-64): Invalid type for argument in function call. Invalid implicit conversion from function () pure to uint256 requested.
|