diff options
author | chriseth <chris@ethereum.org> | 2018-08-13 23:25:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 23:25:30 +0800 |
commit | ae8218543b91a98663ab98de3200a0eec2bfebe3 (patch) | |
tree | 142f8a34907ad0ebd79abfb18dedaac1fa4aa58c /Changelog.md | |
parent | 463f4b0f35a9eb930a4cce164135d726c091c50e (diff) | |
parent | 7d7abeb1496dddfab7eb8705dbfc3d06284cf25d (diff) | |
download | dexon-solidity-ae8218543b91a98663ab98de3200a0eec2bfebe3.tar.gz dexon-solidity-ae8218543b91a98663ab98de3200a0eec2bfebe3.tar.zst dexon-solidity-ae8218543b91a98663ab98de3200a0eec2bfebe3.zip |
Merge pull request #4696 from ethereum/byteLiteralConversion
Disallow ambiguous implicit and explicit conversions from number literals to bytesXX
Diffstat (limited to 'Changelog.md')
-rw-r--r-- | Changelog.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Changelog.md b/Changelog.md index 56e00003..e2eca9d1 100644 --- a/Changelog.md +++ b/Changelog.md @@ -58,7 +58,9 @@ Breaking Changes: * Type Checker: Interface functions must be declared external. This was already the case in the experimental 0.5.0 mode. * Type Checker: Address members are not included in contract types anymore. An explicit conversion is now required before invoking an ``address`` member from a contract. * Type Checker: Disallow "loose assembly" syntax entirely. This means that jump labels, jumps and non-functional instructions cannot be used anymore. - * Remove obsolete ``std`` directory from the Solidity repository. This means accessing ``https://github.com/ethereum/solidity/blob/develop/std/*.sol`` (or ``https://github.com/ethereum/solidity/std/*.sol`` in Remix) will not be possible. + * Type System: Disallow explicit and implicit conversions from decimal literals to ``bytesXX`` types. + * Type System: Disallow explicit and implicit conversions from hex literals to ``bytesXX`` types of different size. + * Remove obsolete ``std`` directory from the Solidity repository. This means accessing ``https://github.com/ethereum/soldity/blob/develop/std/*.sol`` (or ``https://github.com/ethereum/solidity/std/*.sol`` in Remix) will not be possible. * References Resolver: Turn missing storage locations into an error. This was already the case in the experimental 0.5.0 mode. * Syntax Checker: Disallow functions without implementation to use modifiers. This was already the case in the experimental 0.5.0 mode. * Syntax Checker: Named return values in function types are an error. |