| ... | ... | @@ -1061,7 +1061,7 @@ fn analyzeInlineBody( |
| 1061 | 1061 | /// The index which a break instruction can target to break from this body. |
| 1062 | 1062 | break_target: Zir.Inst.Index, |
| 1063 | 1063 | ) CompileError!?Air.Inst.Ref { |
| 1064 | | if (sema.analyzeBodyInner(block, body)) |_| { |
| 1064 | if (sema.analyzeBodyInner(block, body)) { |
| 1065 | 1065 | return null; |
| 1066 | 1066 | } else |err| switch (err) { |
| 1067 | 1067 | error.ComptimeBreak => {}, |
| ... | ... | @@ -1808,7 +1808,7 @@ fn analyzeBodyInner( |
| 1808 | 1808 | child_block.instructions = block.instructions; |
| 1809 | 1809 | defer block.instructions = child_block.instructions; |
| 1810 | 1810 | |
| 1811 | | const break_result: ?BreakResult = if (sema.analyzeBodyInner(&child_block, inline_body)) |_| r: { |
| 1811 | const break_result: ?BreakResult = if (sema.analyzeBodyInner(&child_block, inline_body)) r: { |
| 1812 | 1812 | break :r null; |
| 1813 | 1813 | } else |err| switch (err) { |
| 1814 | 1814 | error.ComptimeBreak => brk_res: { |
| ... | ... | @@ -1956,7 +1956,7 @@ fn analyzeBodyInner( |
| 1956 | 1956 | .@"defer" => blk: { |
| 1957 | 1957 | const inst_data = sema.code.instructions.items(.data)[@intFromEnum(inst)].@"defer"; |
| 1958 | 1958 | const defer_body = sema.code.bodySlice(inst_data.index, inst_data.len); |
| 1959 | | if (sema.analyzeBodyInner(block, defer_body)) |_| { |
| 1959 | if (sema.analyzeBodyInner(block, defer_body)) { |
| 1960 | 1960 | // The defer terminated noreturn - no more analysis needed. |
| 1961 | 1961 | break; |
| 1962 | 1962 | } else |err| switch (err) { |
| ... | ... | @@ -1975,7 +1975,7 @@ fn analyzeBodyInner( |
| 1975 | 1975 | const err_code = try sema.resolveInst(inst_data.err_code); |
| 1976 | 1976 | try map.ensureSpaceForInstructions(sema.gpa, defer_body); |
| 1977 | 1977 | map.putAssumeCapacity(extra.remapped_err_code, err_code); |
| 1978 | | if (sema.analyzeBodyInner(block, defer_body)) |_| { |
| 1978 | if (sema.analyzeBodyInner(block, defer_body)) { |
| 1979 | 1979 | // The defer terminated noreturn - no more analysis needed. |
| 1980 | 1980 | break; |
| 1981 | 1981 | } else |err| switch (err) { |
| ... | ... | @@ -5959,7 +5959,7 @@ fn resolveBlockBody( |
| 5959 | 5959 | assert(sema.air_instructions.items(.tag)[@intFromEnum(merges.block_inst)] == .block); |
| 5960 | 5960 | var need_debug_scope = false; |
| 5961 | 5961 | child_block.need_debug_scope = &need_debug_scope; |
| 5962 | | if (sema.analyzeBodyInner(child_block, body)) |_| { |
| 5962 | if (sema.analyzeBodyInner(child_block, body)) { |
| 5963 | 5963 | return sema.resolveAnalyzedBlock(parent_block, src, child_block, merges, need_debug_scope); |
| 5964 | 5964 | } else |err| switch (err) { |
| 5965 | 5965 | error.ComptimeBreak => { |