Merge pull request #8524 from ethereum/test_natspec_return

Add natspec test with too many return tags
This commit is contained in:
chriseth 2020-03-24 15:59:07 +01:00 committed by GitHub
commit d075531f46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.