mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
216 B
Solidity
8 lines
216 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 attached to the type "uint256".
|