solidity/test/libsolidity/syntaxTests/natspec/docstring_private_state_variable.sol
Alexander Arlt cb5bfc7436 Update natspec comments on state variables.
- changing some warnings to errors
2020-05-26 11:18:24 -05:00

8 lines
212 B
Solidity

contract C {
/// @notice example of notice
/// @dev example of dev
uint private state;
}
// ----
// DocstringParsingError: (17-74): Documentation tag @notice not valid for non-public state variables.