solidity/test/libsolidity/syntaxTests/natspec/docstring_too_many_return_tags.sol
2020-03-24 13:04:07 +01:00

9 lines
321 B
Solidity

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.