NatSpec: Implement default inheritance.

This commit is contained in:
Mathias Baumann
2020-06-30 14:45:13 +02:00
parent fe33891531
commit c50f0ae00e
5 changed files with 306 additions and 9 deletions
+5 -3
View File
@@ -122,9 +122,11 @@ documentation and you may read more at
Inheritance Notes
-----------------
Currently it is undefined whether a contract with a function having no
NatSpec will inherit the NatSpec of a parent contract/interface for that
same function.
Functions without NatSpec will automatically inherit the documentation of their
base function. Exceptions to this are:
* When the parameter names are different.
* When there is more than one base function.
.. _header-output: