aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/AST.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-10-06 19:50:15 +0800
committerGitHub <noreply@github.com>2017-10-06 19:50:15 +0800
commit094012dbb046655ac0291f6c4632f306406c0ada (patch)
tree56f31dfd7a35727b7781db63253e7037395d8337 /libsolidity/ast/AST.cpp
parent961f8746ffb169b564ac625a3cb0b215ec671757 (diff)
parent475b81880185e816db9a962a06cb3c323b953a90 (diff)
downloaddexon-solidity-094012dbb046655ac0291f6c4632f306406c0ada.tar
dexon-solidity-094012dbb046655ac0291f6c4632f306406c0ada.tar.gz
dexon-solidity-094012dbb046655ac0291f6c4632f306406c0ada.tar.bz2
dexon-solidity-094012dbb046655ac0291f6c4632f306406c0ada.tar.lz
dexon-solidity-094012dbb046655ac0291f6c4632f306406c0ada.tar.xz
dexon-solidity-094012dbb046655ac0291f6c4632f306406c0ada.tar.zst
dexon-solidity-094012dbb046655ac0291f6c4632f306406c0ada.zip
Merge pull request #3036 from ethereum/constant-eval-refactor
Refactor error reporting in ConstantEvaluator
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)