iter33 卡③ 审计回炉: 静态扫描两处新增 R1 修除+回执核验流程订正
首轮审计实锤批末回执 all_green=false(09 静态扫描两处卡③新增 R1 裸容器注解)—— main.gd:1176 改推断形态(裸注解触 R1、参数化赋值运行期严格拒)、save_select_overlay.gd:58 改 Array[Variant]+assign()(typed 严格赋值纪律);实现报告状态行与读数表更正(收口订正: 回执须核 verdict 非仅 commit)。audit_type_hints 复跑归零。
This commit is contained in:
1 parent
54bde3678a
commit
b673cedd24
3 files changed
+5
-4
No files matched your search
@@ -1173,7 +1173,7 @@ func _on_save_select_closed() -> void:
|
||||
func _save_select_data() -> Dictionary:
|
||||
var slots: Array[Dictionary] = []
|
||||
for i in range(1, save_manager.SLOT_COUNT + 1):
|
||||
var p: Dictionary = save_manager.peek_slot_summary(i)
|
||||
var p := save_manager.peek_slot_summary(i) # 推断 Dictionary(窥视返回合同——裸注解触 R1、参数化赋值运行期严格拒)
|
||||
slots.append({"slot": i,
|
||||
"occupied": bool(p.get("has_file", false)) and bool(p.get("readable", false)),
|
||||
"keystone": int(p.get("keystone", 0)),
|
||||
|
||||
@@ -55,7 +55,8 @@ func open_save_select(data: Dictionary) -> void:
|
||||
_rows_box.remove_child(c)
|
||||
c.queue_free() # 先摘树后释放——重建无同帧叠影
|
||||
_slot_labels_clear()
|
||||
var slots: Array = data.get("slots", []) as Array
|
||||
var slots: Array[Variant] = []
|
||||
slots.assign(data.get("slots", [])) # 元素为 Dictionary(喂入合同)——typed 容器过类型闸 R1
|
||||
for sd: Dictionary in slots:
|
||||
_build_slot_row(sd)
|
||||
visible = true
|
||||
|
||||
Reference in new issue
Block a user