| ... | @@ -1399,7 +1399,6 @@ fn walkInstruction( | ... | @@ -1399,7 +1399,6 @@ fn walkInstruction( |
| 1399 | const extra = file.zir.extraData(Zir.Inst.PtrType, ptr.payload_index); | 1399 | const extra = file.zir.extraData(Zir.Inst.PtrType, ptr.payload_index); |
| 1400 | var extra_index = extra.end; | 1400 | var extra_index = extra.end; |
| 1401 | | 1401 | |
| 1402 | const type_slot_index = self.types.items.len; | | |
| 1403 | const elem_type_ref = try self.walkRef( | 1402 | const elem_type_ref = try self.walkRef( |
| 1404 | file, | 1403 | file, |
| 1405 | parent_scope, | 1404 | parent_scope, |
| ... | @@ -1446,6 +1445,7 @@ fn walkInstruction( | ... | @@ -1446,6 +1445,7 @@ fn walkInstruction( |
| 1446 | host_size = ref_result.expr; | 1445 | host_size = ref_result.expr; |
| 1447 | } | 1446 | } |
| 1448 | | 1447 | |
| | 1448 | const type_slot_index = self.types.items.len; |
| 1449 | try self.types.append(self.arena, .{ | 1449 | try self.types.append(self.arena, .{ |
| 1450 | .Pointer = .{ | 1450 | .Pointer = .{ |
| 1451 | .size = ptr.size, | 1451 | .size = ptr.size, |
| ... | @@ -2994,7 +2994,7 @@ fn tryResolveRefPath( | ... | @@ -2994,7 +2994,7 @@ fn tryResolveRefPath( |
| 2994 | "TODO: handle `{s}`in tryResolveRefPath\nInfo: {}", | 2994 | "TODO: handle `{s}`in tryResolveRefPath\nInfo: {}", |
| 2995 | .{ @tagName(resolved_parent), resolved_parent }, | 2995 | .{ @tagName(resolved_parent), resolved_parent }, |
| 2996 | ); | 2996 | ); |
| 2997 | path[i + 1] = (try self.cteTodo("match failure")).expr; | 2997 | path[i + 1] = (try self.cteTodo("<match failure>")).expr; |
| 2998 | continue :outer; | 2998 | continue :outer; |
| 2999 | }, | 2999 | }, |
| 3000 | .comptimeExpr, .call, .typeOf => { | 3000 | .comptimeExpr, .call, .typeOf => { |