NFC: Fix stray character in error message: 1 -> '
authorRiver Riddle <riverriddle@google.com>
Sat, 14 Sep 2019 16:43:55 +0000 (09:43 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Sat, 14 Sep 2019 16:44:23 +0000 (09:44 -0700)
PiperOrigin-RevId: 269091468

mlir/lib/IR/Module.cpp

index 11791a0..feee321 100644 (file)
@@ -84,7 +84,7 @@ LogicalResult ModuleOp::verify() {
   for (auto attr : getOperation()->getAttrList().getAttrs()) {
     if (!attr.first.strref().contains('.'))
       return emitOpError(
-                 "can only contain dialect-specific attributes, found: 1")
+                 "can only contain dialect-specific attributes, found: '")
              << attr.first << "'";
   }