Zcu: typo

We were accidentally over-reporting most `namespace_name` deps and *not*
reporting some actually outdated ones!
This commit is contained in:
mlugg 2024-08-13 04:02:31 +01:00 committed by Jacob Young
parent 434ad90610
commit 93f2d9a77f

View File

@ -432,7 +432,7 @@ pub fn updateZirRefs(pt: Zcu.PerThread) Allocator.Error!void {
new_zir.nullTerminatedString(name_zir), new_zir.nullTerminatedString(name_zir),
.no_embedded_nulls, .no_embedded_nulls,
); );
if (!old_names.swapRemove(name_ip)) continue; if (old_names.swapRemove(name_ip)) continue;
// Name added // Name added
any_change = true; any_change = true;
try zcu.markDependeeOutdated(.not_marked_po, .{ .namespace_name = .{ try zcu.markDependeeOutdated(.not_marked_po, .{ .namespace_name = .{