Add natspec test with too many return tags

This commit is contained in:
Leonardo Alt 2020-03-24 13:04:07 +01:00
parent d584b2d1aa
commit 42b143098e

View File

@ -0,0 +1,8 @@
abstract contract C {
/// @param id Some identifier
/// @return value Some value
/// @return value2 Some value 2
function vote(uint id) public virtual returns (uint value);
}
// ----
// DocstringParsingError: (26-121): Documentation tag "@return value2 Some value 2" exceeds the number of return parameters.