mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Extend using-for.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
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".
|
||||
Reference in New Issue
Block a user