From 7e82ed694018db7a0f8b2bbc2a0b94ca1f0f2197 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Fri, 2 Oct 2026 02:14:54 +0800 Subject: [PATCH] =?UTF-8?q?chore(debug):=20=E7=A7=BB=E9=99=A4=20[DBG-GEN]?= =?UTF-8?q?=20=E4=B8=80=E6=AC=A1=E6=80=A7=E6=8F=92=E6=A1=A9=EF=BC=88?= =?UTF-8?q?=E6=94=B9=E8=B5=B0=E9=9D=99=E6=80=81=E5=88=86=E6=9E=90=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 按用户要求撤掉 lookup_field 里的临时打印,恢复原函数体。 --- App/lib/core/Gen/StructGenMixin.vp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/App/lib/core/Gen/StructGenMixin.vp b/App/lib/core/Gen/StructGenMixin.vp index aa61d96..f0bb818 100644 --- a/App/lib/core/Gen/StructGenMixin.vp +++ b/App/lib/core/Gen/StructGenMixin.vp @@ -1304,26 +1304,6 @@ novirtual class StructGenMixin: if struct_ty is None or field_name is None or self.StructTable is None: return None - # [DBG-GEN] 一次性诊断(定位 Generator.FuncGenBase 字段查找失败,用完删除) - if string.strcmp(field_name, "FuncGenBase") == 0: - _dg_ty: str = self._extract_struct_name(struct_ty) - _dg_ty_t: str = "" - if _dg_ty is not None: - _dg_ty_t = _dg_ty - stdio.printf("[DBG-GEN] lookup 'FuncGenBase' struct_ty=%s\n", _dg_ty_t) - _dg_i: int = 0 - while _dg_i < self.StructCount: - _dg_e: GenTypes.StructEntry* = self._get_struct_entry(_dg_i) - if _dg_e is not None and _dg_e.Name is not None: - if string.strstr(_dg_e.Name, "Generator") is not None: - _dg_sh: str = _dg_e.ModuleSha1 - _dg_sh_t: str = "" - if _dg_sh is not None: - _dg_sh_t = _dg_sh - stdio.printf("[DBG-GEN] tbl[%d] name=%s fcount=%d sha1=%s\n", - _dg_i, _dg_e.Name, _dg_e.FieldCount, _dg_sh_t) - _dg_i += 1 - # ============================================================ # 两遍查找策略(跨模块同名类冲突的根本修复): #