Skip to content

Commit

Permalink
Merge pull request #24 from JuliaLabs/pb/attribute_bool
Browse files Browse the repository at this point in the history
Remove invalid method for `IR.Attribute(::Bool)`
  • Loading branch information
Pangoraw authored Jan 5, 2024
2 parents baced91 + db6d61d commit 6fb9e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IR/IR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit 6fb9e27

Please sign in to comment.