We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9cea24 commit 2cb6be2Copy full SHA for 2cb6be2
mlir/lib/Tools/lsp-server-support/Protocol.cpp
@@ -284,11 +284,11 @@ bool mlir::lsp::fromJSON(const llvm::json::Value &value,
284
if (codeAction->getObject("codeActionLiteralSupport"))
285
result.codeActionStructure = true;
286
}
287
- if (auto *window = textDocument->getObject("window")) {
288
- if (std::optional<bool> workDoneProgressSupport =
289
- window->getBoolean("workDoneProgress"))
290
- result.workDoneProgress = *workDoneProgressSupport;
291
- }
+ }
+ if (auto *window = o->getObject("window")) {
+ if (std::optional<bool> workDoneProgressSupport =
+ window->getBoolean("workDoneProgress"))
+ result.workDoneProgress = *workDoneProgressSupport;
292
293
return true;
294
0 commit comments