From 93f2d9a77f659a344fc0c003ce149885fc7df99a Mon Sep 17 00:00:00 2001 From: mlugg Date: Tue, 13 Aug 2024 04:02:31 +0100 Subject: [PATCH] Zcu: typo We were accidentally over-reporting most `namespace_name` deps and *not* reporting some actually outdated ones! --- src/Zcu/PerThread.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Zcu/PerThread.zig b/src/Zcu/PerThread.zig index 3c22abb4b8..5f1856f6eb 100644 --- a/src/Zcu/PerThread.zig +++ b/src/Zcu/PerThread.zig @@ -432,7 +432,7 @@ pub fn updateZirRefs(pt: Zcu.PerThread) Allocator.Error!void { new_zir.nullTerminatedString(name_zir), .no_embedded_nulls, ); - if (!old_names.swapRemove(name_ip)) continue; + if (old_names.swapRemove(name_ip)) continue; // Name added any_change = true; try zcu.markDependeeOutdated(.not_marked_po, .{ .namespace_name = .{