Merge pull request #8582 from ethereum/chriseth-patch-1

Changelog entry for immutable variables.
This commit is contained in:
Leonardo 2020-04-03 12:24:44 +02:00 committed by GitHub
commit 07ffc041db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ Important Bugfixes:
Language Features: Language Features:
* Allow local storage variables to be declared without initialization, as long as they are assigned before they are accessed. * Allow local storage variables to be declared without initialization, as long as they are assigned before they are accessed.
* State variables can be marked ``immutable`` which causes them to be read-only, but assignable in the constructor. The value will be stored directly in the code.
Compiler Features: Compiler Features: