Update src/Analyzer/Passes/QueryAnalysisPass.cpp

This commit is contained in:
Vladimir C 2022-11-16 12:44:54 +01:00 committed by GitHub
parent d7c882951f
commit 981e6e2c24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2177,8 +2177,6 @@ QueryTreeNodePtr QueryAnalyzer::tryResolveIdentifierFromAliases(const Identifier
}
else
{
alias_name_to_node_map.erase(it);
std::unordered_set<Identifier> valid_identifiers;
collectScopeWithParentScopesValidIdentifiersForTypoCorrection(identifier, scope, true, false, false, valid_identifiers);