authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-14 17:16:07-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-14 17:16:07-07:00
logd7711ec9532d4c38bf1911f5c0ed2c813705ae15
tree2f8ea64429cf2807978edbc805be2751a07371b4
parent667ad9250f7250670778beedcebc45f5c0284446

print_zir: fix wrong union tag for validate_deref

closes #12125

1 files changed, 1 insertions(+), 1 deletions(-)

src/print_zir.zig+1-1
......@@ -232,13 +232,13 @@ const Writer = struct {
232232 .validate_array_init_ty,
233233 .validate_struct_init_ty,
234234 .make_ptr_const,
235 .validate_deref,
235236 => try self.writeUnNode(stream, inst),
236237
237238 .ref,
238239 .ret_tok,
239240 .ensure_err_payload_void,
240241 .closure_capture,
241 .validate_deref,
242242 => try self.writeUnTok(stream, inst),
243243
244244 .bool_br_and,