mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Return parameters in function types may not be named.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
contract test {
|
||||
struct S {
|
||||
function (uint x, uint y) internal returns (uint a) f;
|
||||
function (uint x, uint y) internal returns (uint) f;
|
||||
function (uint, uint) external returns (uint) g;
|
||||
uint d;
|
||||
}
|
||||
@@ -8,4 +8,3 @@ contract test {
|
||||
// ----
|
||||
// Warning: (49-55): Naming function type parameters is deprecated.
|
||||
// Warning: (57-63): Naming function type parameters is deprecated.
|
||||
// Warning: (83-89): Naming function type return parameters is deprecated.
|
||||
|
||||
Reference in New Issue
Block a user