mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Rephrase.
This commit is contained in:
parent
c39a5e2b7a
commit
804e98a136
@ -46,7 +46,7 @@ New order:
|
|||||||
- All state variables are zero-initialized at the beginning.
|
- All state variables are zero-initialized at the beginning.
|
||||||
- Evaluate base constructor arguments from most derived to most base contract.
|
- 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:
|
- For every contract in order from most base to most derived in the linearized hierarchy execute:
|
||||||
1. State variables are assigned their initial values, if present at declaration.
|
1. If present at declaration, initial values are assigned to state variables.
|
||||||
2. Constructor, if present.
|
2. Constructor, if present.
|
||||||
|
|
||||||
This causes differences in some contracts, for example:
|
This causes differences in some contracts, for example:
|
||||||
|
Loading…
Reference in New Issue
Block a user