diff options
Make members context-sensitive.
Diffstat (limited to 'libsolidity/analysis/TypeChecker.h')
-rw-r--r-- | libsolidity/analysis/TypeChecker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/analysis/TypeChecker.h b/libsolidity/analysis/TypeChecker.h index 2295bc22..9563d4a9 100644 --- a/libsolidity/analysis/TypeChecker.h +++ b/libsolidity/analysis/TypeChecker.h @@ -117,6 +117,8 @@ private: /// Runs type checks on @a _expression to infer its type and then checks that it is an LValue. void requireLValue(Expression const& _expression); + ContractDefinition const* m_scope = nullptr; + ErrorList& m_errors; }; |