swift
7b7599a2 - [CodeCompletion] Don't run second pass for decls in closures

Commit
5 years ago
[CodeCompletion] Don't run second pass for decls in closures For instance: -- let globalVar = { func something(arg: Int) -> Int { #^HERE^# } return something(12) }() -- We want to consider this as a top-level completion, not a function body completion. rdar://problem/60838686
Author
Committer
Parents
Loading