summaryrefslogtreecommitdiff
path: root/src/hir
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir')
-rw-r--r--src/hir/type.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hir/type.hpp b/src/hir/type.hpp
index d3aac4c6..5cfbbf10 100644
--- a/src/hir/type.hpp
+++ b/src/hir/type.hpp
@@ -59,7 +59,9 @@ struct TypeRef
// - Pointer
TAGGED_UNION(Data, Infer,
- (Infer, struct {}),
+ (Infer, struct {
+ unsigned int index = 0;
+ }),
(Diverge, struct {}),
(Primitive, ::HIR::CoreType),
(Path, ::HIR::Path),