mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
docs: document the implicit call of base constructor without arguments
This commit is contained in:
parent
8d666e180d
commit
4259c0d036
@ -1059,6 +1059,9 @@ derived contract. Arguments have to be given either in the
|
||||
inheritance list or in modifier-style in the derived constuctor.
|
||||
Specifying arguments in both places is an error.
|
||||
|
||||
If the constructor of a base contract has no arguments, it will be implicitly
|
||||
executed upon contract creation.
|
||||
|
||||
.. index:: ! inheritance;multiple, ! linearization, ! C3 linearization
|
||||
|
||||
Multiple Inheritance and Linearization
|
||||
|
Loading…
Reference in New Issue
Block a user