Skip to content

Commit eb3ae8c

Browse files
committed
fix mypy err
1 parent 64ebff2 commit eb3ae8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypyc/transform/redundant_box_elimination.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ def do_box_unbox_elimination(fn: FuncIR, options: CompilerOptions) -> None:
2727
fn.blocks = builder.blocks
2828

2929

30-
def build_use_map(fn: FuncIR) -> Dict[Value, list[Op]]:
30+
def build_use_map(fn: FuncIR) -> dict[Value, list[Op]]:
3131
# Map each Value to a list of ops that use it
32-
use_map: Dict[Value, list[Op]] = {}
32+
use_map: dict[Value, list[Op]] = {}
3333
for block in fn.blocks:
3434
for op in block.ops:
3535
for src in op.sources():

0 commit comments

Comments
 (0)