diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-07-10 18:36:48 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-07-10 21:28:05 +0800 |
commit | ad47fe23c13b8bfa24aa952619af4917467f21c8 (patch) | |
tree | e8312508ef358ea206dc8015a0b68423fb42cb7d /test/libsolidity/syntaxTests/parsing | |
parent | a6e5a51d6178b8b06053bea35cc984472bd48684 (diff) | |
download | dexon-solidity-ad47fe23c13b8bfa24aa952619af4917467f21c8.tar dexon-solidity-ad47fe23c13b8bfa24aa952619af4917467f21c8.tar.gz dexon-solidity-ad47fe23c13b8bfa24aa952619af4917467f21c8.tar.bz2 dexon-solidity-ad47fe23c13b8bfa24aa952619af4917467f21c8.tar.lz dexon-solidity-ad47fe23c13b8bfa24aa952619af4917467f21c8.tar.xz dexon-solidity-ad47fe23c13b8bfa24aa952619af4917467f21c8.tar.zst dexon-solidity-ad47fe23c13b8bfa24aa952619af4917467f21c8.zip |
Update tests.
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/tuples.sol | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/tuples.sol b/test/libsolidity/syntaxTests/parsing/tuples.sol index 8266c94f..ca2f9d6b 100644 --- a/test/libsolidity/syntaxTests/parsing/tuples.sol +++ b/test/libsolidity/syntaxTests/parsing/tuples.sol @@ -1,16 +1,16 @@ contract C { function f() public { uint a = (1); - (uint b,) = (1,); + (uint b,) = 1; (uint c, uint d) = (1, 2 + a); (uint e,) = (1, 2, b); (a) = 3; } } // ---- -// Warning: (54-70): Different number of components on the left hand side (2) than on the right hand side (1). -// Warning: (107-128): Different number of components on the left hand side (2) than on the right hand side (3). -// Warning: (75-81): Unused local variable. -// Warning: (83-89): Unused local variable. -// Warning: (108-114): Unused local variable. -// Warning: (14-143): Function state mutability can be restricted to pure +// Warning: (54-67): Different number of components on the left hand side (2) than on the right hand side (1). +// Warning: (104-125): Different number of components on the left hand side (2) than on the right hand side (3). +// Warning: (72-78): Unused local variable. +// Warning: (80-86): Unused local variable. +// Warning: (105-111): Unused local variable. +// Warning: (14-140): Function state mutability can be restricted to pure |