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/nameAndTypeResolution | |
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/nameAndTypeResolution')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/244_tuples.sol | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/244_tuples.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/244_tuples.sol index 3112f67a..95e8cf37 100644 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/244_tuples.sol +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/244_tuples.sol @@ -1,13 +1,13 @@ contract C { function f() public { uint a = (1); - (uint b,) = (uint8(1),); + (uint b,) = uint8(1); (uint c, uint d) = (uint32(1), 2 + a); (uint e,) = (uint64(1), 2, b); a;b;c;d;e; } } // ---- -// Warning: (69-92): Different number of components on the left hand side (2) than on the right hand side (1). -// Warning: (149-178): Different number of components on the left hand side (2) than on the right hand side (3). -// Warning: (17-204): Function state mutability can be restricted to pure +// Warning: (69-89): Different number of components on the left hand side (2) than on the right hand side (1). +// Warning: (146-175): Different number of components on the left hand side (2) than on the right hand side (3). +// Warning: (17-201): Function state mutability can be restricted to pure |