Improve fatal error message when handling promised interfaces
authorMehdi Amini <joker.eph@gmail.com>
Sat, 24 Jun 2023 01:15:47 +0000 (03:15 +0200)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 24 Jun 2023 01:48:10 +0000 (03:48 +0200)
commit91ae1f5d08d98daae2122b0ab3779b8e1603a045
tree6ee3768cba994af03ac2308983618c81fd41576c
parent86e1c050e944600ebad21fb12e687e6d9de5c2e2
Improve fatal error message when handling promised interfaces

When initializing DialectInterfaceCollection, we wouldn't have the missing
interface name in the error.

Differential Revision: https://reviews.llvm.org/D153676
mlir/include/mlir/IR/DialectInterface.h
mlir/lib/IR/Dialect.cpp