From edfbf85ecdf29ee976534403369323def7905c62 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 4 May 2021 13:58:08 -0700 Subject: Sema: implement error sets --- src/Module.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Module.zig') 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 { -- cgit v1.2.3