Merge pull request #8808 from ethereum/documentation-abstract

Note on abstract contract about overriding implemented functions
This commit is contained in:
chriseth
2020-05-01 13:33:55 +02:00
committed by GitHub
+5
View File
@@ -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
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".
.. note::
Abstract contracts cannot override an implemented virtual function with an
unimplemented one.