diff options
author | Christian <c@ethdev.com> | 2014-10-23 23:06:12 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-25 01:38:48 +0800 |
commit | b2f12991dbb30193386e6d3ff16e2fc46fa2289a (patch) | |
tree | bb23f19dc832daf8296bdbda9d2b95cba93414fb /NameAndTypeResolver.cpp | |
parent | 59b5e950f42781c083d14a210845148b01e39eb2 (diff) | |
download | dexon-solidity-b2f12991dbb30193386e6d3ff16e2fc46fa2289a.tar.gz dexon-solidity-b2f12991dbb30193386e6d3ff16e2fc46fa2289a.tar.zst dexon-solidity-b2f12991dbb30193386e6d3ff16e2fc46fa2289a.zip |
Some documentation.
Diffstat (limited to 'NameAndTypeResolver.cpp')
-rw-r--r-- | NameAndTypeResolver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NameAndTypeResolver.cpp b/NameAndTypeResolver.cpp index e9d90dc8..0f34eb4c 100644 --- a/NameAndTypeResolver.cpp +++ b/NameAndTypeResolver.cpp @@ -130,7 +130,7 @@ void DeclarationRegistrationHelper::enterNewSubScope(ASTNode& _node) void DeclarationRegistrationHelper::closeCurrentScope() { BOOST_ASSERT(m_currentScope); - m_currentScope = m_currentScope->getOuterScope(); + m_currentScope = m_currentScope->getEnclosingScope(); } void DeclarationRegistrationHelper::registerDeclaration(Declaration& _declaration, bool _opensScope) |