Skip to content

Commit ddfff13

Browse files
committed
---
yaml --- r: 348628 b: refs/heads/master c: e2182dc h: refs/heads/master
1 parent aa7bdc8 commit ddfff13

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 25488fea8071ff521bf19a0953695b7704f1cb2d
2+
refs/heads/master: e2182dc16675bc9c196f8ea7b748159c970d737c
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/include/swift/Basic/LangOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ namespace swift {
246246
/// Default is in \c ParseLangArgs
247247
///
248248
/// This is a staging flag; eventually it will be removed.
249-
bool EnableASTScopeLookup = false;
249+
bool EnableASTScopeLookup = true;
250250

251251
/// Someday, ASTScopeLookup will supplant lookup in the parser
252252
bool DisableParserLookup = false;

trunk/lib/AST/ASTScopeCreation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,7 @@ void ASTScopeImpl::reexpand(ScopeCreator &scopeCreator) {
17501750
auto astAncestorScopes = rescueASTAncestorScopesForReuseFromMeOrDescendants();
17511751
disownDescendants(scopeCreator);
17521752
// If the expansion recurses back into the tree for lookup, the ASTAncestor
1753-
// scopes will have already been rescued and won't be found! HERE
1753+
// scopes will have already been rescued and won't be found!
17541754
expandAndBeCurrent(scopeCreator);
17551755
replaceASTAncestorScopes(astAncestorScopes);
17561756
}

0 commit comments

Comments
 (0)