mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5123 from ethereum/docs-contracts-fixes
Fix issues introduced from PR #5043
This commit is contained in:
commit
8ef47cb61a
@ -1131,7 +1131,7 @@ Multiple Inheritance and Linearization
|
|||||||
Languages that allow multiple inheritance have to deal with
|
Languages that allow multiple inheritance have to deal with
|
||||||
several problems. One is the `Diamond Problem <https://en.wikipedia.org/wiki/Multiple_inheritance#The_diamond_problem>`_.
|
several problems. One is the `Diamond Problem <https://en.wikipedia.org/wiki/Multiple_inheritance#The_diamond_problem>`_.
|
||||||
Solidity is similar to Python in that it uses "`C3 Linearization <https://en.wikipedia.org/wiki/C3_linearization>`_"
|
Solidity is similar to Python in that it uses "`C3 Linearization <https://en.wikipedia.org/wiki/C3_linearization>`_"
|
||||||
to force a specific order in the directed acyclic graph of base classes. This
|
to force a specific order in the directed acyclic graph (DAG) of base classes. This
|
||||||
results in the desirable property of monotonicity but
|
results in the desirable property of monotonicity but
|
||||||
disallows some inheritance graphs. Especially, the order in
|
disallows some inheritance graphs. Especially, the order in
|
||||||
which the base classes are given in the ``is`` directive is
|
which the base classes are given in the ``is`` directive is
|
||||||
|
Loading…
Reference in New Issue
Block a user