Use quote function for all errors/warnings

This commit is contained in:
Mathias Baumann
2020-01-08 16:12:06 +01:00
parent 70a2902714
commit 593e2515e7
494 changed files with 1201 additions and 1157 deletions
@@ -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 ";".