Add 'key.reusingastcontext: 1' to the response instead. Using diagnostics can be a noise to indexing log clients. rdar://problem/61367416
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