diff --git a/src/IR/IR.jl b/src/IR/IR.jl index 21f4f7ff..8d7f819d 100644 --- a/src/IR/IR.jl +++ b/src/IR/IR.jl @@ -397,7 +397,7 @@ function Attribute(value::Int, type::MLIRType) API.mlirIntegerAttrGet(type, value) ) end -function Attribute(value::Bool, ::MLIRType=nothing) +function Attribute(value::Bool) Attribute( API.mlirBoolAttrGet(context(), value) )