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,9 @@
|
||||
function f(uint x, uint[] y) pure returns (uint) {
|
||||
return x;
|
||||
}
|
||||
function f(uint x, uint y) pure returns (int) {
|
||||
return x;
|
||||
}
|
||||
using {f} for uint;
|
||||
// ----
|
||||
// DeclarationError 7920: (138-139): Identifier not found or not unique.
|
||||
Reference in New Issue
Block a user