Skip to content

Commit 6fb9e27

Browse files
authored
Merge pull request #24 from JuliaLabs/pb/attribute_bool
Remove invalid method for `IR.Attribute(::Bool)`
2 parents baced91 + db6d61d commit 6fb9e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/IR/IR.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function Attribute(value::Int, type::MLIRType)
397397
API.mlirIntegerAttrGet(type, value)
398398
)
399399
end
400-
function Attribute(value::Bool, ::MLIRType=nothing)
400+
function Attribute(value::Bool)
401401
Attribute(
402402
API.mlirBoolAttrGet(context(), value)
403403
)

0 commit comments

Comments
 (0)