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
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// TypeError: (129-138): Member "address" not found or not visible after argument-dependent lookup in struct C.S memory.
// TypeError: (129-138): Member "address" not found or not visible after argument-dependent lookup in "struct C.S memory".
@@ -2,4 +2,4 @@ contract C {
struct S { uint address; }
}
// ----
// ParserError: (33-40): Expected identifier but got 'address'
// ParserError: (33-40): Expected identifier but got "address"
@@ -6,6 +6,6 @@ contract Test {
}
// ----
// TypeError: (114-115): External function arguments of reference type are read-only.
// TypeError: (118-122): Type struct Test.S memory is not implicitly convertible to expected type struct Test.S calldata.
// TypeError: (118-122): Type "struct Test.S memory" is not implicitly convertible to expected type "struct Test.S calldata".
// TypeError: (178-179): External function arguments of reference type are read-only.
// TypeError: (182-183): Type struct Test.S memory is not implicitly convertible to expected type struct Test.S calldata.
// TypeError: (182-183): Type "struct Test.S memory" is not implicitly convertible to expected type "struct Test.S calldata".