aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/analyze.cpp')
-rw-r--r--src/analyze.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp
index 15f08aa3fe..93373f6ec2 100644
--- a/src/analyze.cpp
+++ b/src/analyze.cpp
@@ -5981,7 +5981,7 @@ size_t type_id_index(TypeTableEntry *entry) {
return 7;
case TypeTableEntryIdStruct:
if (entry->data.structure.is_slice)
- return 25;
+ return 6;
return 8;
case TypeTableEntryIdComptimeFloat:
return 9;