From 8ed3da1d5f744337ba96916d9648a6884a25a3e7 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 3 Jul 2018 23:03:26 +0200 Subject: Only allow compile-time constants for constant state variables. --- Changelog.md | 1 + 1 file changed, 1 insertion(+) (limited to 'Changelog.md') 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. -- cgit