Skip to content

Commit 5c87374

Browse files
authored
[mlir][docs] Use APIntParameter instead of APInt in AttributesAndTypes.md (#151315)
Fixes #151314.
1 parent b7bfbc0 commit 5c87374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/docs/DefiningDialects/AttributesAndTypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def My_IntegerAttr : MyDialect_Attr<"Integer", "int"> {
136136
/// Here we've defined two parameters, one is a "self" type parameter, and the
137137
/// other is the integer value of the attribute. The self type parameter is
138138
/// specially handled by the assembly format.
139-
let parameters = (ins AttributeSelfTypeParameter<"">:$type, "APInt":$value);
139+
let parameters = (ins AttributeSelfTypeParameter<"">:$type, APIntParameter<"">:$value);
140140
141141
/// Here we've defined a custom builder for the type, that removes the need to pass
142142
/// in an MLIRContext instance; as it can be infered from the `type`.

0 commit comments

Comments
 (0)