diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-06-14 23:32:09 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-06-18 06:05:06 +0800 |
commit | dbfee87860187e3f3d5b6c06fffe0e601d01d7ea (patch) | |
tree | bef9bf79829180c3444c0fdc7d08c87b5406212f /test/libsolidity/syntaxTests/parsing | |
parent | dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7 (diff) | |
download | dexon-solidity-dbfee87860187e3f3d5b6c06fffe0e601d01d7ea.tar.gz dexon-solidity-dbfee87860187e3f3d5b6c06fffe0e601d01d7ea.tar.zst dexon-solidity-dbfee87860187e3f3d5b6c06fffe0e601d01d7ea.zip |
Return parameters in function types may not be named.
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/function_type_in_struct.sol | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/function_type_in_struct.sol b/test/libsolidity/syntaxTests/parsing/function_type_in_struct.sol index d3c84678..c7703b47 100644 --- a/test/libsolidity/syntaxTests/parsing/function_type_in_struct.sol +++ b/test/libsolidity/syntaxTests/parsing/function_type_in_struct.sol @@ -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. |