mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
RangeInfo: Add a new range info kind that describes part of a parent expression. rdar://32039874 (#9707)
This commit is contained in:
@@ -1357,6 +1357,7 @@ static void resolveRange(SwiftLangSupport &Lang,
|
||||
Receiver(Result);
|
||||
return;
|
||||
}
|
||||
case RangeKind::PartOfExpression:
|
||||
case RangeKind::Invalid:
|
||||
if (!getPreviousASTSnaps().empty()) {
|
||||
// Attempt again using the up-to-date AST.
|
||||
|
||||
Reference in New Issue
Block a user