mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[IDE] Don't set LeaveClosureBodiesUnchecked for solver-based cursor info
This commit is contained in:
@@ -34,6 +34,9 @@ namespace {
|
||||
// MARK: - Utilities
|
||||
|
||||
void typeCheckDeclAndParentClosures(ValueDecl *VD) {
|
||||
if (!VD) {
|
||||
return;
|
||||
}
|
||||
// We need to type check any parent closures because their types are
|
||||
// encoded in the USR of ParentContexts in the cursor info response.
|
||||
auto DC = VD->getDeclContext();
|
||||
|
||||
Reference in New Issue
Block a user