aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-05-04 13:58:08 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-05-04 13:58:08 -0700
commitedfbf85ecdf29ee976534403369323def7905c62 (patch)
tree04e9be8dfd761336da9544c2fbf52db27ede20d5 /src/Module.zig
parent230ce72f168d5bcd0feb2f8f0aed42ea6ad27b09 (diff)
downloadzig-edfbf85ecdf29ee976534403369323def7905c62.tar.gz
zig-edfbf85ecdf29ee976534403369323def7905c62.zip
Sema: implement error sets
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Module.zig b/src/Module.zig
index 4b421241cd..3f88efd717 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -478,6 +478,7 @@ pub const ErrorSet = struct {
names_len: u32,
/// The string bytes are stored in the owner Decl arena.
/// They are in the same order they appear in the AST.
+ /// The length is given by `names_len`.
names_ptr: [*]const []const u8,
pub fn srcLoc(self: ErrorSet) SrcLoc {