aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/AST.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-10-06 03:18:46 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-10-06 03:18:46 +0800
commit475b81880185e816db9a962a06cb3c323b953a90 (patch)
treeba6e24f6be84b43a1f794936c9c9a1dab1ed4f46 /libsolidity/ast/AST.cpp
parented62b2583cf96a970dd610fa3ce837942bb67500 (diff)
downloaddexon-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.cpp6
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)