aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/type.zig')
-rw-r--r--src/type.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type.zig b/src/type.zig
index ceb795a870..c70544d189 100644
--- a/src/type.zig
+++ b/src/type.zig
@@ -2238,7 +2238,7 @@ pub const Type = struct {
var ty = starting_ty;
while (true) switch (ty.toIntern()) {
- .anyerror_type => {
+ .anyerror_type, .adhoc_inferred_error_set_type => {
// TODO revisit this when error sets support custom int types
return .{ .signedness = .unsigned, .bits = 16 };
},