aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/TypeChecker.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-09-22 01:43:56 +0800
committerchriseth <c@ethdev.com>2015-09-22 02:03:53 +0800
commit42c0009205852abc2f2d7415a9e5faaf6e5b2d56 (patch)
treed88a500931a153eaa5a10b3fd883aa27652813c4 /libsolidity/TypeChecker.h
parent39d1e2bc06a5c39180681c78e8f6618f25da2bce (diff)
downloaddexon-solidity-42c0009205852abc2f2d7415a9e5faaf6e5b2d56.tar.gz
dexon-solidity-42c0009205852abc2f2d7415a9e5faaf6e5b2d56.tar.zst
dexon-solidity-42c0009205852abc2f2d7415a9e5faaf6e5b2d56.zip
Error formatting.
Diffstat (limited to 'libsolidity/TypeChecker.h')
-rw-r--r--libsolidity/TypeChecker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/TypeChecker.h b/libsolidity/TypeChecker.h
index 90e2a01b..cc539e22 100644
--- a/libsolidity/TypeChecker.h
+++ b/libsolidity/TypeChecker.h
@@ -47,7 +47,7 @@ public:
bool checkTypeRequirements(ContractDefinition const& _contract);
/// @returns the list of errors found during type checking.
- std::vector<std::shared_ptr<Exception const>> const& errors() const { return m_errors; }
+ std::vector<std::shared_ptr<Error const>> const& errors() const { return m_errors; }
/// @returns the type of an expression and asserts that it is present.
TypePointer const& type(Expression const& _expression) const;
@@ -107,7 +107,7 @@ private:
/// Runs type checks on @a _expression to infer its type and then checks that it is an LValue.
void requireLValue(Expression const& _expression);
- std::vector<std::shared_ptr<Exception const>> m_errors;
+ std::vector<std::shared_ptr<Error const>> m_errors;
};
}