Autodoc: update to new array_type ZIR

This commit is contained in:
Andrew Kelley 2022-07-18 13:27:00 -07:00
parent 22d61faf17
commit 84adbeb077

View File

@ -1471,7 +1471,8 @@ fn walkInstruction(
};
},
.array_type => {
const bin = data[inst_index].bin;
const pl_node = data[inst_index].pl_node;
const bin = file.zir.extraData(Zir.Inst.Bin, pl_node.payload_index).data;
const len = try self.walkRef(file, parent_scope, bin.lhs, false);
const child = try self.walkRef(file, parent_scope, bin.rhs, false);