From bf3c88b68d9f8042b79b7d69d401429811d9de7c Mon Sep 17 00:00:00 2001 From: Veikka Tuominen Date: Sat, 26 Feb 2022 22:57:05 +0200 Subject: stage2: various fixes to get one test passing * resolve error sets before merging them * implement tupleFieldPtr * make ret_ptr behave like alloc with zero sized types in llvm backend --- src/Module.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Module.zig') diff --git a/src/Module.zig b/src/Module.zig index e596ab0aba..7f52dc23e9 100644 --- a/src/Module.zig +++ b/src/Module.zig @@ -1435,7 +1435,7 @@ pub const Fn = struct { /// All currently known errors that this error set contains. This includes direct additions /// via `return error.Foo;`, and possibly also errors that are returned from any dependent functions. /// When the inferred error set is fully resolved, this map contains all the errors that the function might return. - errors: std.StringHashMapUnmanaged(void) = .{}, + errors: ErrorSet.NameMap = .{}, /// Other inferred error sets which this inferred error set should include. inferred_error_sets: std.AutoHashMapUnmanaged(*InferredErrorSet, void) = .{}, -- cgit v1.2.3