mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #8808 from ethereum/documentation-abstract
Note on abstract contract about overriding implemented functions
This commit is contained in:
commit
b627f3ab85
@ -52,3 +52,8 @@ facilitating patterns like the `Template method <https://en.wikipedia.org/wiki/T
|
|||||||
Abstract contracts are useful in the same way that defining methods
|
Abstract contracts are useful in the same way that defining methods
|
||||||
in an interface is useful. It is a way for the designer of the
|
in an interface is useful. It is a way for the designer of the
|
||||||
abstract contract to say "any child of mine must implement this method".
|
abstract contract to say "any child of mine must implement this method".
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
Abstract contracts cannot override an implemented virtual function with an
|
||||||
|
unimplemented one.
|
||||||
|
Loading…
Reference in New Issue
Block a user