aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-02-26 22:57:05 +0200
committerAndrew Kelley <andrew@ziglang.org>2022-02-26 18:44:23 -0500
commitbf3c88b68d9f8042b79b7d69d401429811d9de7c (patch)
tree7efd2e71a3b105adf417c831b75aa23b7637af35 /src/Module.zig
parent058e482247c73ecb6404c7c1e3d2194f4aa9e059 (diff)
downloadzig-bf3c88b68d9f8042b79b7d69d401429811d9de7c.tar.gz
zig-bf3c88b68d9f8042b79b7d69d401429811d9de7c.zip
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
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig2
1 files changed, 1 insertions, 1 deletions
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) = .{},