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
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// ParserError: (121-129): Expected ',' but got 'calldata'
// ParserError: (121-129): Expected "," but got "calldata"
@@ -4,5 +4,5 @@ contract C {
}
}
// ----
// TypeError: (57-61): The first argument to "abi.decode" must be implicitly convertible to bytes memory or bytes calldata, but is of type type(uint256).
// TypeError: (57-61): The first argument to "abi.decode" must be implicitly convertible to "bytes memory" or "bytes calldata", but is of type "type(uint256)".
// TypeError: (63-67): The second argument to "abi.decode" has to be a tuple of types.
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// ParserError: (71-77): Expected ',' but got 'memory'
// ParserError: (71-77): Expected "," but got "memory"
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// ParserError: (109-116): Expected ',' but got 'storage'
// ParserError: (109-116): Expected "," but got "storage"