Issue with defer copying when triggered by break or continue.

This commit is contained in:
Christoffer Lerno
2025-02-08 00:14:01 +01:00
parent 07e8779d4e
commit fa4fb44779
3 changed files with 48 additions and 0 deletions

View File

@@ -667,6 +667,7 @@ RETRY:
if (ast->contbreak_stmt.is_resolved)
{
fixup_astid(c, &ast->contbreak_stmt.ast);
MACRO_COPY_ASTID(ast->contbreak_stmt.defers);
}
break;
case AST_CASE_STMT: