docs: fill annotation audit gaps in object and type paths
This commit is contained in:
@@ -133,6 +133,7 @@ fn read_only_scopes_block_existing_container_and_type_writes_but_allow_fresh_res
|
||||
let record = store.new_object().unwrap();
|
||||
// 已有字典受同一只读屏障保护,不只保护普通属性。
|
||||
let dict = store.new_dict().unwrap();
|
||||
// 进入只读前创建的 Cell 同样属于受保护堆对象,不能靠内部值更新绕过写屏障。
|
||||
let cell = store
|
||||
.new_cell(Some(objects::Value::Number(1_i64.into())))
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user