mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #10503 from ethereum/irBreakingChangesMinorFix
Rephrase detail in ir breaking changes docs.
This commit is contained in:
commit
c996d74041
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user