refactored struct message to use std::variant for _typeOrSeverity

This commit is contained in:
nishant-sachdeva
2022-09-20 19:20:43 +05:30
parent c8011d8719
commit eafd7218b7
12 changed files with 80 additions and 73 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ DEFINE_PROTO_FUZZER(Program const& _input)
SourceReferenceFormatter formatter(std::cout, stack, false, false);
for (auto const& error: stack.errors())
formatter.printExceptionInformation(*error, error->type());
formatter.printExceptionInformation(*error, Error::errorSeverity(error->type()));
yulAssert(false, "Proto fuzzer generated malformed program");
}