solidity/test/libsolidity/syntaxTests/using/using_free_no_parameters_err.sol
2022-03-14 12:33:44 +01:00

8 lines
213 B
Solidity

function one() pure returns(uint) {
return 1;
}
using {one} for uint;
// ----
// TypeError 4731: (60-63): The function "one" does not have any parameters, and therefore cannot be bound to the type "uint256".