feat: 搭建闭包捕获基础设施

This commit is contained in:
2026-06-30 19:58:58 +08:00
parent 930b14b3f0
commit c58aae4862
17 changed files with 660 additions and 12 deletions
+1
View File
@@ -30,6 +30,7 @@ pub(crate) struct ScopeCtx {
pub(crate) builtin_reg_map: Vec<(String, u8)>,
pub(crate) private_name_map: Vec<(String, u32)>,
pub(crate) next_private_name_id: u32,
pub(crate) cell_registry: Vec<(String, u8)>,
}
/// Reserved for destructuring-pattern state (Phase 15). Intentionally empty