mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Change error from directive to keyword.
This commit is contained in:
committed by
hrkrshnn
parent
a942e630d4
commit
9d5b1b279e
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user