fixup! Syntax for custom errors.

This commit is contained in:
chriseth 2021-02-02 11:39:01 +01:00
parent 8e8aa25523
commit 204066f58c

View File

@ -0,0 +1,6 @@
error E();
function f() pure {
revert((E)());
}
// ----
// TypeError 4423: (42-47): Expected error or string.