mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #11205 from ethereum/fix-docstring-bug
Fix docstring bug
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user