Skip to content

Commit bc9e9c8

Browse files
committed
fix: guard OPIR enum checks
1 parent cb6c3d0 commit bc9e9c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generate_lsquic_ffi.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ proc dropGeneratedCEnumsImpl(opirOutput: JsonNode): JsonNode =
1212
for node in opirOutput:
1313
# enums are generated manually to avoid issue described in
1414
# https://github.com/PMunch/futhark/issues/152
15-
if node["kind"].str == "enum":
15+
if node{"kind"}.getStr("") == "enum":
1616
continue
1717
resp.add node
1818
resp

0 commit comments

Comments
 (0)