修复了大量存在的问题,增加了假鸭子类型等等机制
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
# - ExprGen.py: 表达式生成(常量、二元运算、返回)
|
||||
# - FuncGen.py: 函数处理(参数调整、成员偏移)
|
||||
# - VaArg.py: 变长参数处理
|
||||
from __future__ import annotations
|
||||
|
||||
from lib.core.LLVMCG.BaseGen import BaseGenMixin, VaArgInstruction
|
||||
from lib.core.LLVMCG.TypeConvert import TypeConvertMixin
|
||||
@@ -43,4 +44,4 @@ class LlvmCodeGenerator(
|
||||
|
||||
|
||||
# 向后兼容:重新导出常量和辅助类
|
||||
__all__ = ['LlvmCodeGenerator', 'VaArgInstruction']
|
||||
__all__: list[str] = ['LlvmCodeGenerator', 'VaArgInstruction']
|
||||
|
||||
Reference in New Issue
Block a user