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
@@ -9,4 +9,4 @@ contract C {
// ====
// EVMVersion: >=byzantium
// ----
// TypeError: (94-123): Expected `catch Error(string memory ...) { ... }`.
// TypeError: (94-123): Expected "catch Error(string memory ...) { ... }".
@@ -9,5 +9,5 @@ contract C {
}
}
// ----
// TypeError: (157-161): Invalid type, expected uint8 but got uint256.
// TypeError: (163-168): Invalid type, expected uint256 but got int256.
// TypeError: (157-161): Invalid type, expected "uint8" but got "uint256".
// TypeError: (163-168): Invalid type, expected "uint256" but got "int256".
@@ -10,4 +10,4 @@ contract C {
// ====
// EVMVersion: <byzantium
// ----
// TypeError: (73-106): This catch clause type cannot be used on the selected EVM version (homestead). You need at least a Byzantium-compatible EVM or use `catch { ... }`.
// TypeError: (73-106): This catch clause type cannot be used on the selected EVM version (homestead). You need at least a Byzantium-compatible EVM or use "catch { ... }".
@@ -9,4 +9,4 @@ contract C {
// ====
// EVMVersion: >=byzantium
// ----
// TypeError: (94-118): Expected `catch (bytes memory ...) { ... }` or `catch { ... }`.
// TypeError: (94-118): Expected "catch (bytes memory ...) { ... }" or "catch { ... }".
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// ParserError: (97-98): Expected reserved keyword 'catch' but got '}'
// ParserError: (97-98): Expected reserved keyword "catch" but got "}"
@@ -10,4 +10,4 @@ contract C {
// ====
// EVMVersion: <byzantium
// ----
// TypeError: (73-112): This catch clause type cannot be used on the selected EVM version (homestead). You need at least a Byzantium-compatible EVM or use `catch { ... }`.
// TypeError: (73-112): This catch clause type cannot be used on the selected EVM version (homestead). You need at least a Byzantium-compatible EVM or use "catch { ... }".