mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix error IDs.
This commit is contained in:
@@ -4,5 +4,5 @@ contract C {
|
||||
uint private state;
|
||||
}
|
||||
// ----
|
||||
// DocstringParsingError: (17-56): Documentation tag @author not valid for non-public state variables.
|
||||
// DocstringParsingError: (17-56): Documentation tag @title not valid for non-public state variables.
|
||||
// DocstringParsingError 6546: (17-56): Documentation tag @author not valid for non-public state variables.
|
||||
// DocstringParsingError 6546: (17-56): Documentation tag @title not valid for non-public state variables.
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ contract test {
|
||||
uint private state;
|
||||
}
|
||||
// ----
|
||||
// DocstringParsingError: (18-47): Documentation tag @return not valid for non-public state variables.
|
||||
// DocstringParsingError 6546: (18-47): Documentation tag @return not valid for non-public state variables.
|
||||
|
||||
@@ -4,4 +4,4 @@ contract C {
|
||||
uint private state;
|
||||
}
|
||||
// ----
|
||||
// DocstringParsingError: (17-74): Documentation tag @notice not valid for non-public state variables.
|
||||
// DocstringParsingError 6546: (17-74): Documentation tag @notice not valid for non-public state variables.
|
||||
|
||||
@@ -11,4 +11,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError: (290-295): Only state variables can have a docstring.
|
||||
// ParserError 2837: (290-295): Only state variables can have a docstring.
|
||||
|
||||
Reference in New Issue
Block a user