mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #8524 from ethereum/test_natspec_return
Add natspec test with too many return tags
This commit is contained in:
commit
d075531f46
@ -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.
|
Loading…
Reference in New Issue
Block a user