[Mlir-commits] [flang] [mlir] [mlir][AsmParser] Disambiguate location attributes from trailing loc (PR #180668)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Mar 18 20:06:22 PDT 2026


================
@@ -37,7 +37,7 @@ def testParseError():
     except MLIRError as e:
         # CHECK: testParseError: <
         # CHECK:   Unable to parse type:
-        # CHECK:   error: "BAD_TYPE_DOES_NOT_EXIST":1:1: expected non-function type
+        # CHECK:   "BAD_TYPE_DOES_NOT_EXIST":1:1: expected non-function type
----------------
XiaoleiShi-NV wrote:

Good catch. `MLIRError` still includes the full `error:` prefix there. I restored that expectation in the latest update, along with the other Python exception-string checks touched by this PR.

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


More information about the Mlir-commits mailing list