Skip to content

Commit cc40dd6

Browse files
committed
fix(show): satisfy mypy for optional span annotation
1 parent a261ebc commit cc40dd6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

kmir/src/kmir/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ def _annotate_nobody_function(k_cell: KInner, smir_info: SMIRInfo) -> list[str]:
300300
}
301301

302302
annotations: list[str] = []
303+
span: int | None = None
303304

304305
match k_cell:
305306
case KSequence(items=(KApply(label=KLabel(name=label_name), args=args), *_)) | KApply(

0 commit comments

Comments
 (0)