mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixup! Syntax for custom errors.
This commit is contained in:
parent
8e8aa25523
commit
204066f58c
@ -0,0 +1,6 @@
|
|||||||
|
error E();
|
||||||
|
function f() pure {
|
||||||
|
revert((E)());
|
||||||
|
}
|
||||||
|
// ----
|
||||||
|
// TypeError 4423: (42-47): Expected error or string.
|
||||||
Loading…
Reference in New Issue
Block a user