| ... | ... | @@ -1153,14 +1153,15 @@ fn walkInstruction( |
| 1153 | 1153 | }, |
| 1154 | 1154 | .closure_get => { |
| 1155 | 1155 | const inst_node = data[@intFromEnum(inst)].inst_node; |
| 1156 | | return try self.walkInstruction( |
| 1157 | | file, |
| 1158 | | parent_scope, |
| 1159 | | parent_src, |
| 1160 | | inst_node.inst, |
| 1161 | | need_type, |
| 1162 | | call_ctx, |
| 1163 | | ); |
| 1156 | |
| 1157 | const code = try self.getBlockSource(file, parent_src, inst_node.src_node); |
| 1158 | const idx = self.comptime_exprs.items.len; |
| 1159 | try self.exprs.append(self.arena, .{ .comptimeExpr = idx }); |
| 1160 | try self.comptime_exprs.append(self.arena, .{ .code = code }); |
| 1161 | |
| 1162 | return DocData.WalkResult{ |
| 1163 | .expr = .{ .comptimeExpr = idx }, |
| 1164 | }; |
| 1164 | 1165 | }, |
| 1165 | 1166 | .closure_capture => { |
| 1166 | 1167 | const un_tok = data[@intFromEnum(inst)].un_tok; |