aboutsummaryrefslogtreecommitdiff
path: root/src/Sema.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2024-07-07 07:33:09 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2024-07-07 22:59:52 -0400
commitbdae01ab047accbbc6dcd014d008f2554aa78696 (patch)
treee82d85afcf5ef099505da12335497e80e29d5969 /src/Sema.zig
parent49b25475ad0d224e13d989f9ff860b32fca6315a (diff)
downloadzig-bdae01ab047accbbc6dcd014d008f2554aa78696.tar.gz
zig-bdae01ab047accbbc6dcd014d008f2554aa78696.zip
InternPool: implement and use thread-safe list for extra and limbs
Diffstat (limited to 'src/Sema.zig')
-rw-r--r--src/Sema.zig2
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