autodoc: fix Extended builtin functions names rendering

This commit is contained in:
Krzysztof Wolicki 2023-03-30 22:03:58 +02:00 committed by Krzysztof Wolicki
parent 5b82b40043
commit 652b005f9b

View File

@ -2984,7 +2984,7 @@ fn walkInstruction(
const param_index = self.exprs.items.len;
try self.exprs.append(self.arena, param.expr);
self.exprs.items[bin_index] = .{ .builtin = .{ .name = @tagName(tags[inst_index]), .param = param_index } };
self.exprs.items[bin_index] = .{ .builtin = .{ .name = @tagName(extended.opcode), .param = param_index } };
return DocData.WalkResult{
.typeRef = param.typeRef orelse .{ .type = @enumToInt(Ref.type_type) },