Skip to content

Commit e7e8abf

Browse files
committed
refactor(show): restore original match pattern for minimal diff
Keep symbol_name capture and wildcard match from master; the only necessary change is removing the UNKNOWN FUNCTION guard.
1 parent 74198ca commit e7e8abf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

kmir/src/kmir/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,9 @@ def _annotate_nobody_function(k_cell: KInner, smir_info: SMIRInfo) -> list[str]:
307307
KApply(
308308
label=KLabel(name='MonoItemKind::MonoItemFn'),
309309
args=[
310-
KApply(args=[KToken()]),
310+
KApply(args=[KToken(token=symbol_name)]),
311311
KApply(label=KLabel(name='defId(_)_BODY_DefId_Int'), args=[KToken(token=def_id_str)]),
312-
KApply(label=KLabel(name='noBody_BODY_MaybeBody'), args=[]),
312+
_,
313313
],
314314
),
315315
operands,

0 commit comments

Comments
 (0)