diff --git a/liblangutil/SourceReferenceFormatter.h b/liblangutil/SourceReferenceFormatter.h index 02a38288a..8d3121a7a 100644 --- a/liblangutil/SourceReferenceFormatter.h +++ b/liblangutil/SourceReferenceFormatter.h @@ -64,12 +64,11 @@ public: util::Exception const& _exception, Error::Type _type, CharStreamProvider const& _charStreamProvider, - bool _colored = false, - bool _withErrorIds = false + bool _colored = false ) { std::ostringstream errorOutput; - SourceReferenceFormatter formatter(errorOutput, _charStreamProvider, _colored, _withErrorIds); + SourceReferenceFormatter formatter(errorOutput, _charStreamProvider, _colored, false /* _withErrorIds */); formatter.printExceptionInformation(_exception, _type); return errorOutput.str(); } @@ -78,12 +77,11 @@ public: util::Exception const& _exception, Error::Severity _severity, CharStreamProvider const& _charStreamProvider, - bool _colored = false, - bool _withErrorIds = false + bool _colored = false ) { std::ostringstream errorOutput; - SourceReferenceFormatter formatter(errorOutput, _charStreamProvider, _colored, _withErrorIds); + SourceReferenceFormatter formatter(errorOutput, _charStreamProvider, _colored, false /* _withErrorIds */); formatter.printExceptionInformation(_exception, _severity); return errorOutput.str(); } diff --git a/libsolidity/interface/StandardCompiler.cpp b/libsolidity/interface/StandardCompiler.cpp index 767792601..32d6cf8e8 100644 --- a/libsolidity/interface/StandardCompiler.cpp +++ b/libsolidity/interface/StandardCompiler.cpp @@ -125,8 +125,7 @@ Json::Value formatErrorWithException( _exception, _type, _charStreamProvider, - false, // colored - false // _withErrorIds + false // colored ); if (string const* description = _exception.comment())