diff options
author | chriseth <chris@ethereum.org> | 2018-08-06 18:59:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-06 18:59:16 +0800 |
commit | 9d03de1f250cecad2c5c796beb10d96c3c9b15cd (patch) | |
tree | ea93d83315c48f07b2efaf0d73c3b4a3b6f29d2e /Changelog.md | |
parent | 13d3006376c826495bad8a4c648e68a359fa1b41 (diff) | |
parent | cbae02b514d7a9dd3845f2f731caec7defa29a66 (diff) | |
download | dexon-solidity-9d03de1f250cecad2c5c796beb10d96c3c9b15cd.tar.gz dexon-solidity-9d03de1f250cecad2c5c796beb10d96c3c9b15cd.tar.zst dexon-solidity-9d03de1f250cecad2c5c796beb10d96c3c9b15cd.zip |
Merge pull request #4671 from ethereum/mappingTupleAssignment
Disallow assignments to mappings within tuple assignments; allow for local variables.
Diffstat (limited to 'Changelog.md')
-rw-r--r-- | Changelog.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Changelog.md b/Changelog.md index 856ea1ca..1cc2ee4a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -80,6 +80,8 @@ Bugfixes: * Fix NatSpec json output for `@notice` and `@dev` tags on contract definitions. * References Resolver: Enforce ``storage`` as data location for mappings. * References Resolver: Report error instead of assertion fail when FunctionType has an undeclared type as parameter. + * Type Checker: Disallow assignments to mappings within tuple assignments as well. + * Type Checker: Allow assignments to local variables of mapping types. * Type Checker: Consider fixed size arrays when checking for recursive structs. * Type Checker: Report error when using structs in events without experimental ABIEncoderV2. This used to crash or log the wrong values. * Type System: Allow arbitrary exponents for literals with a mantissa of zero. |