diff options
author | chriseth <chris@ethereum.org> | 2018-07-13 07:23:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-13 07:23:28 +0800 |
commit | 052f19c6b0aac3b4f60ee8a7f340033e0b5350f0 (patch) | |
tree | 82027ba467f6851c64984c77538ee424ae74f645 /docs | |
parent | f0bc1bce895f67ccd8b21e244d1b7cbd8c8f9453 (diff) | |
parent | 62645d530253c365ac09979135e9037f2bde2934 (diff) | |
download | dexon-solidity-052f19c6b0aac3b4f60ee8a7f340033e0b5350f0.tar.gz dexon-solidity-052f19c6b0aac3b4f60ee8a7f340033e0b5350f0.tar.zst dexon-solidity-052f19c6b0aac3b4f60ee8a7f340033e0b5350f0.zip |
Merge pull request #4431 from ethereum/tupleDeclaration
Disallow multi variable declarations with mismatching number of values.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/control-structures.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index 50c401e2..837a0a90 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -297,9 +297,9 @@ These can then either be assigned to newly declared variables or to pre-existing } .. note:: - Prior to version 0.4.24 it was possible to assign to tuples of smaller size, either + Prior to version 0.5.0 it was possible to assign to tuples of smaller size, either filling up on the left or on the right side (which ever was empty). This is - now deprecated, both sides have to have the same number of components. + now disallowed, so both sides have to have the same number of components. Complications for Arrays and Structs ------------------------------------ |