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:
@@ -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 { ... }".
|
||||
|
||||
Reference in New Issue
Block a user