diff --git a/src/checker.cpp b/src/checker.cpp index 44bde3b73..58ba4aa68 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -2159,7 +2159,6 @@ void check_add_foreign_block_decl(CheckerContext *ctx, Ast *decl) { check_decl_attributes(&c, fb->attributes, foreign_block_decl_attribute, nullptr); - c.collect_delayed_decls = true; ast_node(block, BlockStmt, fb->body); check_collect_entities(&c, block->stmts); }