Skip to content

Commit a6a7a1b

Browse files
committed
Fully qualify MLIR type in TableGen emitter
This is important for users that don't enclose their dialect within the MLIR namespace.
1 parent 48bb7bb commit a6a7a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ static const char *const dialectDynamicTypeParserDispatch = R"(
737737
if (parseResult.has_value()) {
738738
if (::mlir::succeeded(parseResult.getValue()))
739739
return genType;
740-
return Type();
740+
return ::mlir::Type();
741741
}
742742
}
743743
)";

0 commit comments

Comments
 (0)