mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Warn deprecated usage of parameter names in function types
This commit is contained in:
+2
-2
@@ -387,10 +387,10 @@ Example that shows how to use internal function types::
|
||||
}
|
||||
function reduce(
|
||||
uint[] memory self,
|
||||
function (uint x, uint y) returns (uint) f
|
||||
function (uint, uint) returns (uint) f
|
||||
)
|
||||
internal
|
||||
returns (uint r)
|
||||
returns (uint)
|
||||
{
|
||||
r = self[0];
|
||||
for (uint i = 1; i < self.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user