Only use SourceReferenceFormatterHuman

This commit is contained in:
Alex Beregszaszi
2020-12-01 16:09:46 +01:00
committed by chriseth
parent 1126838a31
commit 1dedba8538
22 changed files with 47 additions and 41 deletions
+2 -2
View File
@@ -23,7 +23,7 @@
#include <test/Common.h>
#include <liblangutil/SourceReferenceFormatter.h>
#include <liblangutil/SourceReferenceFormatterHuman.h>
#include <libyul/optimiser/Disambiguator.h>
#include <libyul/AsmParser.h>
@@ -55,7 +55,7 @@ Dialect const& defaultDialect(bool _yul)
void yul::test::printErrors(ErrorList const& _errors)
{
SourceReferenceFormatter formatter(cout);
SourceReferenceFormatterHuman formatter(cout, true, false);
for (auto const& error: _errors)
formatter.printErrorInformation(*error);