Skip to content

Commit eff40f1

Browse files
authored
Fix typo in mlirIsNull call (#124)
1 parent cdaba7c commit eff40f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mlir/IR/Region.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Gets the first block in the region.
7777
"""
7878
function first_block(region::Region)
7979
block = API.mlirRegionGetFirstBlock(region)
80-
API.mlirIsNull(block) && return nothing
80+
mlirIsNull(block) && return nothing
8181
return Block(block, false)
8282
end
8383
Base.first(region::Region) = first_block(region)

0 commit comments

Comments
 (0)