| ... | @@ -12095,7 +12095,10 @@ const GenZir = struct { | ... | @@ -12095,7 +12095,10 @@ const GenZir = struct { |
| 12095 | return gz.addAsIndex(.{ | 12095 | return gz.addAsIndex(.{ |
| 12096 | .tag = .save_err_ret_index, | 12096 | .tag = .save_err_ret_index, |
| 12097 | .data = .{ .save_err_ret_index = .{ | 12097 | .data = .{ .save_err_ret_index = .{ |
| 12098 | .operand = if (cond == .if_of_error_type) cond.if_of_error_type else .none, | 12098 | .operand = switch (cond) { |
| | 12099 | .if_of_error_type => |x| x, |
| | 12100 | else => .none, |
| | 12101 | }, |
| 12099 | } }, | 12102 | } }, |
| 12100 | }); | 12103 | }); |
| 12101 | } | 12104 | } |