diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-10-06 03:18:46 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-10-06 03:18:46 +0800 |
commit | 475b81880185e816db9a962a06cb3c323b953a90 (patch) | |
tree | ba6e24f6be84b43a1f794936c9c9a1dab1ed4f46 /libsolidity/ast/AST.cpp | |
parent | ed62b2583cf96a970dd610fa3ce837942bb67500 (diff) | |
download | dexon-solidity-475b81880185e816db9a962a06cb3c323b953a90.tar dexon-solidity-475b81880185e816db9a962a06cb3c323b953a90.tar.gz dexon-solidity-475b81880185e816db9a962a06cb3c323b953a90.tar.bz2 dexon-solidity-475b81880185e816db9a962a06cb3c323b953a90.tar.lz dexon-solidity-475b81880185e816db9a962a06cb3c323b953a90.tar.xz dexon-solidity-475b81880185e816db9a962a06cb3c323b953a90.tar.zst dexon-solidity-475b81880185e816db9a962a06cb3c323b953a90.zip |
Remove obsolete createTypeError in AST
Diffstat (limited to 'libsolidity/ast/AST.cpp')
-rw-r--r-- | libsolidity/ast/AST.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libsolidity/ast/AST.cpp b/libsolidity/ast/AST.cpp index a805322b..1048b610 100644 --- a/libsolidity/ast/AST.cpp +++ b/libsolidity/ast/AST.cpp @@ -22,7 +22,6 @@ #include <libsolidity/ast/AST.h> #include <libsolidity/ast/ASTVisitor.h> -#include <libsolidity/interface/Exceptions.h> #include <libsolidity/ast/AST_accept.h> #include <libdevcore/SHA3.h> @@ -73,11 +72,6 @@ ASTAnnotation& ASTNode::annotation() const return *m_annotation; } -Error ASTNode::createTypeError(string const& _description) const -{ - return Error(Error::Type::TypeError) << errinfo_sourceLocation(location()) << errinfo_comment(_description); -} - SourceUnitAnnotation& SourceUnit::annotation() const { if (!m_annotation) |