more closely match Zir.Inst.Ref to InternPool.Index

This commit is contained in:
Techatrix
2023-02-10 19:10:58 +01:00
parent 57fc10eec0
commit d98060b3d6
4 changed files with 291 additions and 173 deletions

View File

@@ -798,7 +798,7 @@ pub fn resolveTypeOfNodeInternal(store: *DocumentStore, arena: *std.heap.ArenaAl
.interpreter = interpreter,
.value = value,
} },
.is_type_val = value.ty == InternPool.Index.type,
.is_type_val = value.ty == InternPool.Index.type_type,
},
.handle = node_handle.handle,
};