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 A {
}
}
// ----
// TypeError: (88-96): Function declared as view, but this expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
// TypeError: (88-96): Function declared as "view", but this expression (potentially) modifies the state and thus requires non-payable (the default) or "payable".
@@ -11,7 +11,7 @@ contract B is A {
}
}
// ----
// TypeError: (109-112): Function declared as pure, but this expression (potentially) reads from the environment or state and thus requires "view".
// TypeError: (109-119): Function declared as pure, but this expression (potentially) reads from the environment or state and thus requires "view".
// TypeError: (188-191): Function declared as pure, but this expression (potentially) reads from the environment or state and thus requires "view".
// TypeError: (188-194): Function declared as pure, but this expression (potentially) reads from the environment or state and thus requires "view".
// TypeError: (109-112): Function declared as "pure", but this expression (potentially) reads from the environment or state and thus requires "view".
// TypeError: (109-119): Function declared as "pure", but this expression (potentially) reads from the environment or state and thus requires "view".
// TypeError: (188-191): Function declared as "pure", but this expression (potentially) reads from the environment or state and thus requires "view".
// TypeError: (188-194): Function declared as "pure", but this expression (potentially) reads from the environment or state and thus requires "view".