mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Rename SourceReferenceFormatterHuman.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include <libyul/AssemblyStack.h>
|
||||
#include <libyul/Exceptions.h>
|
||||
#include <libyul/optimiser/Suite.h>
|
||||
#include <liblangutil/SourceReferenceFormatterHuman.h>
|
||||
#include <liblangutil/SourceReferenceFormatter.h>
|
||||
#include <libevmasm/Instruction.h>
|
||||
#include <libsmtutil/Exceptions.h>
|
||||
#include <libsolutil/JSON.h>
|
||||
@@ -118,7 +118,7 @@ Json::Value formatErrorWithException(
|
||||
{
|
||||
string message;
|
||||
// TODO: consider enabling color
|
||||
string formattedMessage = SourceReferenceFormatterHuman::formatExceptionInformation(_exception, _type);
|
||||
string formattedMessage = SourceReferenceFormatter::formatExceptionInformation(_exception, _type);
|
||||
|
||||
if (string const* description = boost::get_error_info<util::errinfo_comment>(_exception))
|
||||
message = ((_message.length() > 0) ? (_message + ":") : "") + *description;
|
||||
|
||||
Reference in New Issue
Block a user