aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-05-11 14:17:52 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-05-11 14:17:52 -0700
commitbcf15e39e2d4e2243f475852aca7749e40a70fbd (patch)
tree367c697ea25a0649a263d13131ffaf0ec3f82ad4 /test
parentdae22a0a1f13cc963e96cd704941eed29b8dde27 (diff)
downloadzig-bcf15e39e2d4e2243f475852aca7749e40a70fbd.tar.gz
zig-bcf15e39e2d4e2243f475852aca7749e40a70fbd.zip
stage2: add `owns_tv` flag to `Module.Decl`
Decl objects need to know whether they are the owner of the Type/Value associated with them, in order to decide whether to destroy the associated Namespace, Fn, or Var when cleaning up.
Diffstat (limited to 'test')
-rw-r--r--test/stage2/cbe.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stage2/cbe.zig b/test/stage2/cbe.zig
index 5ffb67f731..0e5b398f59 100644
--- a/test/stage2/cbe.zig
+++ b/test/stage2/cbe.zig
@@ -517,7 +517,7 @@ pub fn addCases(ctx: *TestContext) !void {
\\}
, &.{
":3:21: error: missing struct field: x",
- ":1:15: note: struct 'Point' declared here",
+ ":1:15: note: struct 'test_case.Point' declared here",
});
case.addError(
\\const Point = struct { x: i32, y: i32 };