aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-08-13 04:02:31 +0100
committerJacob Young <jacobly0@users.noreply.github.com>2024-08-17 18:50:10 -0400
commit93f2d9a77f659a344fc0c003ce149885fc7df99a (patch)
tree3c48f84da79a3514e5fa1526d6528616bf91882a /src
parent434ad906101a72c3c94f6a0fec1aa11d36b46ebb (diff)
downloadzig-93f2d9a77f659a344fc0c003ce149885fc7df99a.tar.gz
zig-93f2d9a77f659a344fc0c003ce149885fc7df99a.zip
Zcu: typo
We were accidentally over-reporting most `namespace_name` deps and *not* reporting some actually outdated ones!
Diffstat (limited to 'src')
-rw-r--r--src/Zcu/PerThread.zig2
1 files changed, 1 insertions, 1 deletions
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 = .{