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

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.