diff options
author | chriseth <chris@ethereum.org> | 2018-07-05 23:07:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 23:07:32 +0800 |
commit | f3e0bf1dd85fef29bf80f2235b5c0c19a6d30f31 (patch) | |
tree | 212f8cd521bf92aceb23cae7ab2fa69a63bab3a6 /Changelog.md | |
parent | 2987e33e23bf8eb7283b9fd6f24eaa03c4771d7b (diff) | |
parent | 8ed3da1d5f744337ba96916d9648a6884a25a3e7 (diff) | |
download | dexon-solidity-f3e0bf1dd85fef29bf80f2235b5c0c19a6d30f31.tar.gz dexon-solidity-f3e0bf1dd85fef29bf80f2235b5c0c19a6d30f31.tar.zst dexon-solidity-f3e0bf1dd85fef29bf80f2235b5c0c19a6d30f31.zip |
Merge pull request #4418 from ethereum/initialConstants
Only allow compile-time constants for constant state variables.
Diffstat (limited to 'Changelog.md')
-rw-r--r-- | Changelog.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Changelog.md b/Changelog.md index eae12c2c..34343a8b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -28,6 +28,7 @@ Breaking Changes: * Optimizer: Remove the no-op ``PUSH1 0 NOT AND`` sequence. * Parser: Disallow trailing dots that are not followed by a number. * Parser: Remove ``constant`` as function state mutability modifer. + * Type Checker: Disallow values for constants that are not compile-time constants. This was already the case in the experimental 0.5.0 mode. * Type Checker: Disallow arithmetic operations for boolean variables. * Type Checker: Disallow conversions between ``bytesX`` and ``uintY`` of different size. * Type Checker: Disallow specifying base constructor arguments multiple times in the same inheritance hierarchy. This was already the case in the experimental 0.5.0 mode. |