Merge pull request #11205 from ethereum/fix-docstring-bug

Fix docstring bug
This commit is contained in:
chriseth
2021-04-14 13:18:33 +02:00
committed by GitHub
8 changed files with 872 additions and 6 deletions
@@ -4,4 +4,3 @@ contract C {
uint private state;
}
// ----
// DocstringParsingError 6546: (17-74): Documentation tag @notice not valid for non-public state variables.
@@ -11,4 +11,3 @@ contract C {
}
}
// ----
// ParserError 2837: (290-295): Only state variables or file-level variables can have a docstring.