From a20bc312ab76068e183bef60d0dfae6c40b0ec87 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Sun, 25 Oct 2026 12:07:59 +0800 Subject: [PATCH] =?UTF-8?q?docs(classgen):=20=E5=A3=B0=E6=98=8E=E5=89=8D?= =?UTF-8?q?=E7=BD=AE=E6=B3=A8=E9=87=8A=E7=A4=BA=E4=BE=8B=20FileW=20->=20Fi?= =?UTF-8?q?le?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FileW 已在 includes/win32/fileio.vp 中删除,示例改用 File.__init__(同样在 self.seek 之前定义)。 --- App/lib/core/Gen/Class/ClassGenVTable.vp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/lib/core/Gen/Class/ClassGenVTable.vp b/App/lib/core/Gen/Class/ClassGenVTable.vp index 97351c8..f47e844 100644 --- a/App/lib/core/Gen/Class/ClassGenVTable.vp +++ b/App/lib/core/Gen/Class/ClassGenVTable.vp @@ -497,7 +497,7 @@ novirtual class ClassGenVTable(ClassGenBase.ClassGenBase): if oop_has_vt_pre == 1: self._collect_vtable_methods(trans, cd, class_name) # Declare-before-define: forward-declare every method so lookups no longer depend on - # source order (e.g. FileW.__init__ calling self.seek defined later in the class). + # source order (e.g. File.__init__ calling self.seek defined later in the class). for ci_pd in range(int(cn)): stmt_pd: ast.AST* = children.get(ci_pd) if stmt_pd is None: continue