mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Analysis refactoring.
This commit is contained in:
1 parent
98e343b3fc
commit
7f2def8971
7 files changed
+468
-117
No files matched your search
@@ -58,6 +58,14 @@ Error::Error(Type _type): m_type(_type)
|
||||
}
|
||||
}
|
||||
|
||||
Error::Error(Error::Type _type, const std::string& _description, const SourceLocation& _location):
|
||||
Error(_type)
|
||||
{
|
||||
if (!_location.isEmpty())
|
||||
*this << errinfo_sourceLocation(_location);
|
||||
*this << errinfo_comment(_description);
|
||||
}
|
||||
|
||||
string Exception::lineInfo() const
|
||||
{
|
||||
char const* const* file = boost::get_error_info<boost::throw_file>(*this);
|
||||
|
||||
Reference in new issue
Block a user