diff options
Diffstat (limited to 'src/Sema.zig')
| -rw-r--r-- | src/Sema.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sema.zig b/src/Sema.zig index 34db457955..f1c61fdd2a 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -36925,7 +36925,7 @@ pub fn typeHasOnePossibleValue(sema: *Sema, ty: Type) CompileError!?Value { .none, => unreachable, - _ => switch (ty.toIntern().getTag(ip)) { + _ => switch (ty.toIntern().unwrap(ip).getTag(ip)) { .removed => unreachable, .type_int_signed, // i0 handled above |
