Change error from directive to keyword.

This commit is contained in:
Christian Parpart
2021-04-28 11:12:43 +02:00
committed by hrkrshnn
parent a942e630d4
commit 9d5b1b279e
12 changed files with 59 additions and 66 deletions
@@ -4,7 +4,7 @@ contract test {
} catch Error(string memory message) {
} catch (bytes memory error) {
} catch (bytes memory _error) {
}
}
@@ -15,4 +15,4 @@ contract test {
// Warning 5667: (49-55): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning 5667: (89-95): Unused try/catch parameter. Remove or comment out the variable name to silence this warning.
// Warning 5667: (122-143): Unused try/catch parameter. Remove or comment out the variable name to silence this warning.
// Warning 5667: (165-183): Unused try/catch parameter. Remove or comment out the variable name to silence this warning.
// Warning 5667: (165-184): Unused try/catch parameter. Remove or comment out the variable name to silence this warning.