fix(vm): 链式 upvalue 捕获支持多层嵌套函数引用深层变量
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user