echo '"foo.op"() {a,a} : () -> ()' | mlir-opt assert.h assertion failed at third_party/llvm/llvm-project/mlir/lib/IR/Attributes.cpp:122 in static mlir::DictionaryAttr mlir::DictionaryAttr::get(ArrayRef<mlir::NamedAttribute>, mlir::MLIRContext *): value[0].first != value[1].first && "DictionaryAttr element names must be unique" @ 0x55e2989305c0 __assert_fail @ 0x55e298354c40 mlir::DictionaryAttr::get() @ 0x55e29835a68a mlir::NamedAttributeList::setAttrs() @ 0x55e29835a5f5 mlir::NamedAttributeList::NamedAttributeList() @ 0x55e2983bc6b9 mlir::Operation::create() @ 0x55e298374271 mlir::OpBuilder::createOperation() @ 0x55e297687301 (anonymous namespace)::OperationParser::parseGenericOperation() @ 0x55e2976847ad (anonymous namespace)::OperationParser::parseOperation() @ 0x55e2976836ab (anonymous namespace)::ModuleParser::parseModule()
Fixed in https://reviews.llvm.org/D78966