Implement closed typed semantic review with immutable proposals

This commit is contained in:
2026-09-06 05:20:54 +03:00
parent ab960cbebb
commit 346fb24692
19 changed files with 5855 additions and 8 deletions
+7
View File
@@ -222,6 +222,13 @@ pub fn remap_references(p: &mut Project, old: Id, new: Id) {
if t.sa == old {
t.sa = new;
}
if let Some(baseline) = t.baseline.as_mut().and_then(|b| b.semantic.as_mut()) {
crate::semantic::visit_semantic_references(baseline, |id| {
if *id == old {
*id = new;
}
});
}
}
}
/// IDs removed by a cascade. Cross-layer traced counterparts are never included.