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
@@ -3,4 +3,4 @@ contract B {
modifier mod1(uint a) { if (a > 0) _; }
}
// ----
// TypeError: (35-39): Invalid type for argument in modifier invocation. Invalid implicit conversion from bool to uint256 requested.
// TypeError: (35-39): Invalid type for argument in modifier invocation. Invalid implicit conversion from "bool" to "uint256" requested.
@@ -2,4 +2,4 @@ contract test {
modifier m() {}
}
// ----
// SyntaxError: (33-35): Modifier body does not contain '_'.
// SyntaxError: (33-35): Modifier body does not contain "_".