Skip to content

Commit b11fb11

Browse files
leopardracercameel
leopardracer
authored andcommitted
Update NameAndTypeResolver.cpp
1 parent fe1794d commit b11fb11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsolidity/analysis/NameAndTypeResolver.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ void DeclarationRegistrationHelper::registerDeclaration(Declaration& _declaratio
716716
);
717717

718718
// NOTE: We're registering the function outside of its scope(). This will only affect
719-
// name lookups. An more general alternative would be to modify Scoper to simply assign it
719+
// name lookups. A more general alternative would be to modify Scoper to simply assign it
720720
// that scope in the first place, but this would complicate the AST traversal here, which
721721
// currently assumes that scopes follow ScopeOpener nesting.
722722
registerDeclaration(*m_scopes.at(quantifier->scope()), _declaration, nullptr, nullptr, false /* inactive */, m_errorReporter);

0 commit comments

Comments
 (0)