Skip to content

Commit 02f4ac2

Browse files
committed
fix mypy err
1 parent 8fedbd2 commit 02f4ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/transform/ir_transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def transform_blocks(self, blocks: list[BasicBlock]) -> None:
9898
op_map[op] = new_op
9999

100100
# Now, after all blocks are built, collect branch targets
101-
branch_targets = set()
101+
branch_targets: set[BasicBlock] = set()
102102
for block in block_map.values():
103103
for op in block.ops:
104104
if isinstance(op, Branch):

0 commit comments

Comments
 (0)