fix(ir): inherit

This commit is contained in:
2025-05-13 11:08:20 +08:00
parent dcfe192aff
commit bcb6c48cfa

View File

@@ -688,7 +688,7 @@ fn downgrade_inherit(
.ir())
},
)?;
stcs.insert(ident, expr).unwrap();
assert!(stcs.insert(ident, expr).is_none());
}
Ok(())
}