Merge pull request #10503 from ethereum/irBreakingChangesMinorFix

Rephrase detail in ir breaking changes docs.
This commit is contained in:
Daniel Kirchner 2020-12-07 12:35:41 +01:00 committed by GitHub
commit c996d74041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ New order:
- All state variables are zero-initialized at the beginning.
- Evaluate base constructor arguments from most derived to most base contract.
- For every contract in order from most base to most derived in the linearized hierarchy execute:
1. State variables are assigned value their initial values, if present at declaration.
1. If present at declaration, initial values are assigned to state variables.
2. Constructor, if present.
This causes differences in some contracts, for example: