aboutsummaryrefslogtreecommitdiffstats
path: root/NameAndTypeResolver.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-23 23:06:12 +0800
committerChristian <c@ethdev.com>2014-10-25 01:38:48 +0800
commitb2f12991dbb30193386e6d3ff16e2fc46fa2289a (patch)
treebb23f19dc832daf8296bdbda9d2b95cba93414fb /NameAndTypeResolver.cpp
parent59b5e950f42781c083d14a210845148b01e39eb2 (diff)
downloaddexon-solidity-b2f12991dbb30193386e6d3ff16e2fc46fa2289a.tar.gz
dexon-solidity-b2f12991dbb30193386e6d3ff16e2fc46fa2289a.tar.zst
dexon-solidity-b2f12991dbb30193386e6d3ff16e2fc46fa2289a.zip
Some documentation.
Diffstat (limited to 'NameAndTypeResolver.cpp')
-rw-r--r--NameAndTypeResolver.cpp2
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)