| ... | ... | @@ -1242,10 +1242,6 @@ fn walkInstruction( |
| 1242 | 1242 | }; |
| 1243 | 1243 | }, |
| 1244 | 1244 | .typeof_builtin => { |
| 1245 | | // @check: @TypeOf(T) |
| 1246 | | // right now it's only showing the T |
| 1247 | | // a way to solve it could be creating a .call |
| 1248 | | // another way is with a flag to handle it on Frontend |
| 1249 | 1245 | const pl_node = data[inst_index].pl_node; |
| 1250 | 1246 | const extra = file.zir.extraData(Zir.Inst.Block, pl_node.payload_index); |
| 1251 | 1247 | const body = file.zir.extra[extra.end..][extra.data.body_len - 1]; |
| ... | ... | @@ -1257,7 +1253,13 @@ fn walkInstruction( |
| 1257 | 1253 | false, |
| 1258 | 1254 | ); |
| 1259 | 1255 | |
| 1260 | | return operand; |
| 1256 | const operand_index = self.exprs.items.len; |
| 1257 | try self.exprs.append(self.arena, operand.expr); |
| 1258 | |
| 1259 | return DocData.WalkResult{ |
| 1260 | .typeRef = operand.typeRef, |
| 1261 | .expr = .{ .typeOf = operand_index }, |
| 1262 | }; |
| 1261 | 1263 | }, |
| 1262 | 1264 | .type_info => { |
| 1263 | 1265 | // @check |