diff options
author | chriseth <chris@ethereum.org> | 2018-07-04 05:03:26 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-07-04 05:03:26 +0800 |
commit | 8ed3da1d5f744337ba96916d9648a6884a25a3e7 (patch) | |
tree | a1252005c3a5d1b950ccf77a8c6e7095fa394a72 /Changelog.md | |
parent | 533d5d4b1cc4374decc704de8c86ad4cef6214fc (diff) | |
download | dexon-solidity-8ed3da1d5f744337ba96916d9648a6884a25a3e7.tar.gz dexon-solidity-8ed3da1d5f744337ba96916d9648a6884a25a3e7.tar.zst dexon-solidity-8ed3da1d5f744337ba96916d9648a6884a25a3e7.zip |
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 b36bec2e..eb0ded82 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. |