mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use quote function for all errors/warnings
This commit is contained in:
@@ -17,4 +17,4 @@ contract Error1 {
|
||||
}
|
||||
// ----
|
||||
// ParserError: (95-96): Expected primary expression.
|
||||
// Warning: (95-96): Recovered in Statement at ';'.
|
||||
// Warning: (95-96): Recovered in Statement at ";".
|
||||
|
||||
@@ -4,4 +4,4 @@ contract Errort6 {
|
||||
|
||||
// ----
|
||||
// ParserError: (36-37): Expected type name
|
||||
// Warning: (59-60): Recovered in ContractDefinition at '}'.
|
||||
// Warning: (59-60): Recovered in ContractDefinition at "}".
|
||||
|
||||
@@ -10,4 +10,4 @@ contract Error2 {
|
||||
mapping (address => uint balances; // missing ) before "balances"
|
||||
}
|
||||
// ----
|
||||
// ParserError: (417-425): Expected ')' but got identifier
|
||||
// ParserError: (417-425): Expected ")" but got identifier
|
||||
|
||||
@@ -17,7 +17,7 @@ contract SendCoin {
|
||||
}
|
||||
|
||||
// ----
|
||||
// ParserError: (212-220): Expected ')' but got identifier
|
||||
// ParserError: (220-221): Expected ';' but got ')'
|
||||
// ParserError: (212-220): Expected ")" but got identifier
|
||||
// ParserError: (220-221): Expected ";" but got ")"
|
||||
// ParserError: (220-221): Function, variable, struct or modifier declaration expected.
|
||||
// Warning: (235-236): Recovered in ContractDefinition at '}'.
|
||||
// Warning: (235-236): Recovered in ContractDefinition at "}".
|
||||
|
||||
@@ -8,4 +8,4 @@ contract Error3 {
|
||||
}
|
||||
// ----
|
||||
// ParserError: (95-96): Expected primary expression.
|
||||
// Warning: (95-96): Recovered in Statement at ';'.
|
||||
// Warning: (95-96): Recovered in Statement at ";".
|
||||
|
||||
@@ -21,9 +21,9 @@ contract Error4 {
|
||||
|
||||
}
|
||||
// ----
|
||||
// ParserError: (249-250): Expected ';' but got 'Number'
|
||||
// ParserError: (471-479): Expected ';' but got identifier
|
||||
// ParserError: (529-533): Expected ';' but got 'emit'
|
||||
// ParserError: (577-583): Expected ',' but got 'return'
|
||||
// ParserError: (249-250): Expected ";" but got "Number"
|
||||
// ParserError: (471-479): Expected ";" but got identifier
|
||||
// ParserError: (529-533): Expected ";" but got "emit"
|
||||
// ParserError: (577-583): Expected "," but got "return"
|
||||
// ParserError: (577-583): Expected primary expression.
|
||||
// Warning: (588-589): Recovered in Statement at ';'.
|
||||
// Warning: (588-589): Recovered in Statement at ";".
|
||||
|
||||
Reference in New Issue
Block a user