[Mlir-commits] [mlir] [mlir][lsp] Downgrade unregistered dialect error. (PR #143346)

Mehdi Amini llvmlistbot at llvm.org
Fri Sep 12 06:35:35 PDT 2025


================
@@ -231,6 +231,17 @@ static lsp::Diagnostic getLspDiagnoticFromDiag(llvm::SourceMgr &sourceMgr,
   }
   lspDiag.message = diag.str();
 
+  // Downgrade errors related to unregistered dialects. We want to be able to
+  // provide the user with headsup about why the file didn't parse, but it is
----------------
joker-eph wrote:

```suggestion
  // provide the user with heads up about why the file didn't parse, but it is
```

https://github.com/llvm/llvm-project/pull/143346


More information about the Mlir-commits mailing list