docs: fill annotation audit gaps in object and type paths

This commit is contained in:
2026-11-15 19:11:16 +08:00
parent 52e62d5839
commit 903b3bbf9d
12 changed files with 36 additions and 1 deletions
+1
View File
@@ -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();