Commit 93f2d9a77f

mlugg <mlugg@mlugg.co.uk>
2024-08-13 05:02:31
Zcu: typo
We were accidentally over-reporting most `namespace_name` deps and *not* reporting some actually outdated ones!
1 parent 434ad90
Changed files (1)
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 = .{