zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 93f2d9a77f659a344fc0c003ce149885fc7df99a (tree)
parent 434ad906101a72c3c94f6a0fec1aa11d36b46ebb
Author: mlugg <mlugg@mlugg.co.uk>
Date:   Tue, 13 Aug 2024 04:02:31 +0100

Zcu: typo

We were accidentally over-reporting most `namespace_name` deps and *not*
reporting some actually outdated ones!

Diffstat:
Msrc/Zcu/PerThread.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 = .{