diff --git a/liblangutil/Exceptions.h b/liblangutil/Exceptions.h index a0de5de30..456637cd6 100644 --- a/liblangutil/Exceptions.h +++ b/liblangutil/Exceptions.h @@ -122,16 +122,6 @@ public: Warning }; - // TODO: remove this - Error( - ErrorId _errorId, - Type _type, - SourceLocation const& _location = SourceLocation(), - std::string const& _description = std::string() - ): - Error(_errorId, _type, _description, _location) - {} - Error( ErrorId _errorId, Type _type, diff --git a/test/libsolidity/AnalysisFramework.cpp b/test/libsolidity/AnalysisFramework.cpp index a88c14581..36172562d 100644 --- a/test/libsolidity/AnalysisFramework.cpp +++ b/test/libsolidity/AnalysisFramework.cpp @@ -105,8 +105,8 @@ ErrorList AnalysisFramework::filterErrors(ErrorList const& _errorList, bool _inc newError = make_shared( currentError->errorId(), currentError->type(), - location ? *location : SourceLocation(), - messagePrefix + " ...." + messagePrefix + " ....", + location ? *location : SourceLocation() ); break; }