| author | |
| committer | |
| log | 07d8740882616b18a3dd81629b1ad0b698376399 |
| tree | aea3ac67e4ae1d9ce9affe3a7c29edf6b5515a47 |
| parent | f6abf022b790847e6145569241e4e5685abf359c |
| signature |
Resolves: #88221 files changed, 3 insertions(+), 1 deletions(-)
lib/std/zig/AstGen.zig+3-1| ... | ... | @@ -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 | 2569 | try checkUsed(gz, parent_scope, scope); |
| 2568 | 2570 | } |
| 2569 | 2571 |