mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add natspec test with too many return tags
This commit is contained in:
parent
d584b2d1aa
commit
42b143098e
@ -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