fix: 链式 upvalue 捕获支持多层嵌套函数引用深层变量

This commit is contained in:
2026-08-07 14:56:51 +08:00
parent 710c8c8a2c
commit de67cc8eee
6 changed files with 53 additions and 20 deletions
+1
View File
@@ -118,6 +118,7 @@ mod tests {
name: "x".to_string(),
enclosing_reg: 7,
cell_idx: 0,
parent_uv_idx: None,
});
let map = AllocMap::new();
run(&mut f, &map);