| ... | @@ -2563,7 +2563,9 @@ fn blockExprStmts(gz: *GenZir, parent_scope: *Scope, statements: []const Ast.Nod | ... | @@ -2563,7 +2563,9 @@ fn blockExprStmts(gz: *GenZir, parent_scope: *Scope, statements: []const Ast.Nod |
| 2563 | } | 2563 | } |
| 2564 | } | 2564 | } |
| 2565 | | 2565 | |
| 2566 | try genDefers(gz, parent_scope, scope, .normal_only); | 2566 | if (noreturn_src_node == 0) { |
| | 2567 | try genDefers(gz, parent_scope, scope, .normal_only); |
| | 2568 | } |
| 2567 | try checkUsed(gz, parent_scope, scope); | 2569 | try checkUsed(gz, parent_scope, scope); |
| 2568 | } | 2570 | } |
| 2569 | | 2571 | |