mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
218 B
Solidity
7 lines
218 B
Solidity
error E(uint,string);
|
|
function f() pure {
|
|
revert(E(2, 3));
|
|
}
|
|
// ----
|
|
// TypeError 9553: (58-59): Invalid type for argument in function call. Invalid implicit conversion from int_const 3 to string memory requested.
|