diff options
author | chriseth <chris@ethereum.org> | 2018-07-10 21:18:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-10 21:18:00 +0800 |
commit | d9c3b10b1c5ad5d9dffbaceb48cd99e7293a6c56 (patch) | |
tree | f7755f7c68f324eaa784abff71e8fd37747401df /test/libsolidity/syntaxTests/tupleAssignments/error_fill.sol | |
parent | 5c404fcfac113d2e25f80b298e485099baa27fb8 (diff) | |
parent | 951b745bd9324c2b07049ab9565ed7c3438fcb89 (diff) | |
download | dexon-solidity-d9c3b10b1c5ad5d9dffbaceb48cd99e7293a6c56.tar dexon-solidity-d9c3b10b1c5ad5d9dffbaceb48cd99e7293a6c56.tar.gz dexon-solidity-d9c3b10b1c5ad5d9dffbaceb48cd99e7293a6c56.tar.bz2 dexon-solidity-d9c3b10b1c5ad5d9dffbaceb48cd99e7293a6c56.tar.lz dexon-solidity-d9c3b10b1c5ad5d9dffbaceb48cd99e7293a6c56.tar.xz dexon-solidity-d9c3b10b1c5ad5d9dffbaceb48cd99e7293a6c56.tar.zst dexon-solidity-d9c3b10b1c5ad5d9dffbaceb48cd99e7293a6c56.zip |
Merge pull request #4465 from ethereum/tupleAssignment
Disallow tuple assignment with mismatching number of components.
Diffstat (limited to 'test/libsolidity/syntaxTests/tupleAssignments/error_fill.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/tupleAssignments/error_fill.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/tupleAssignments/error_fill.sol b/test/libsolidity/syntaxTests/tupleAssignments/error_fill.sol index 5b7f870b..ae722391 100644 --- a/test/libsolidity/syntaxTests/tupleAssignments/error_fill.sol +++ b/test/libsolidity/syntaxTests/tupleAssignments/error_fill.sol @@ -8,5 +8,5 @@ contract C { } } // ---- -// TypeError: (126-136): Different number of components on the left hand side (2) than on the right hand side (3). -// TypeError: (140-150): Different number of components on the left hand side (2) than on the right hand side (3). +// TypeError: (133-136): Type tuple(uint256,uint256,bytes32) is not implicitly convertible to expected type tuple(uint256,). +// TypeError: (147-150): Type tuple(uint256,uint256,bytes32) is not implicitly convertible to expected type tuple(,bytes32). |