This commit is contained in:
David Ungar
2019-06-09 14:51:39 -07:00
parent c4322de196
commit 22d37eccd8
3 changed files with 192 additions and 269 deletions

View File

@@ -471,7 +471,7 @@ void ASTScopeImpl::widenSourceRangeForIgnoredASTNode(const ASTNode n) {
// Doing the default here would cause a pattern initializer scope's range
// to overlap the pattern use scope's range.
if (AbstractPatternEntryScope::isCreatedDirectly(n))
if (PatternEntryDeclScope::isHandledSpecially(n))
return;
SourceRange r = getEffectiveSourceRange(n);