Merge pull request #11023 from ethereum/natspecparsinglocations

Provide locations for docstring parsing errors.
This commit is contained in:
chriseth
2021-03-02 14:03:42 +01:00
committed by GitHub
9 changed files with 34 additions and 37 deletions
@@ -3,4 +3,4 @@ contract C {
function vote(uint id) public {}
}
// ----
// DocstringParsingError 9942: No description given for param id
// DocstringParsingError 9942: (17-30): No description given for param id
@@ -3,4 +3,4 @@ abstract contract C {
function vote(uint id) public {}
}
// ----
// DocstringParsingError 3335: No param name given
// DocstringParsingError 3335: (26-36): No param name given