NatSpec: Implement `@inheritdoc`

This commit is contained in:
Mathias Baumann
2020-07-20 18:32:18 +02:00
committed by Mathias Baumann
parent 6a1b1283fd
commit ba0a4de50d
18 changed files with 1082 additions and 219 deletions
@@ -0,0 +1,10 @@
contract D {
}
contract C is D {
/// @inheritdoc D
function f() internal {
}
}
// ----
// DocstringParsingError 4682: (38-55): Documentation tag @inheritdoc references contract "D", but the contract does not contain a function that is overridden by this function.