From d00fa69af87d9cf764edbc48a36b3447f695f406 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 22 May 2026 08:59:26 -0700 Subject: [PATCH] [NFC] Document reference construction in closed world --- src/pass.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pass.h b/src/pass.h index f5088e5e7ee..02af3f57eb5 100644 --- a/src/pass.h +++ b/src/pass.h @@ -199,8 +199,8 @@ struct PassOptions { // Assume code outside of the module does not inspect or interact with GC and // function references, with the goal of being able to aggressively optimize // all user-defined types. The outside may hold on to references and pass them - // back in, but may not inspect their contents, call them, or reflect on their - // types in any way. + // back in, but may not inspect their contents, call them, construct them, or + // reflect on their types in any way. // // By default we do not make this assumption, and assume anything that escapes // to the outside may be inspected in detail, which prevents us from e.g.