diff --git a/App/lib/core/Gen/CallGenCall.vp b/App/lib/core/Gen/CallGenCall.vp index 1d78a28..ac7ba9d 100644 --- a/App/lib/core/Gen/CallGenCall.vp +++ b/App/lib/core/Gen/CallGenCall.vp @@ -1023,7 +1023,7 @@ class CallGenCall(CallGenBase.CallGenBase): # BaseB 字段区起点,BaseA 区在它前面,this 前移 sizeof(定义类)。 # 若无此分支,sub_field_th 查找失败 → 下方 fail-fast,兄弟 Mixin # 调用永远编译不过(NoVTableCrossMixinTest BaseB.caller 根因)。 - anc_size_th: int = self._get_type_size(anc_entry_th.Ty) + anc_size_th: int = HandlesClassDef._get_type_size(anc_entry_th.Ty) if anc_size_th > 0: i8_ty_th2: llvmlite.LLVMType | t.CPtr = llvmlite.Int8(pool) i8_ptr_th2: llvmlite.LLVMType | t.CPtr = llvmlite.Ptr(pool, i8_ty_th2)