修复了大量存在的问题,增加了假鸭子类型等等机制
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
# - PythonParser.py: Python 文件解析
|
||||
# - LlvmGenerator.py: LLVM IR 生成
|
||||
# - ConstEval.py: 常量表达式求值
|
||||
from __future__ import annotations
|
||||
|
||||
from lib.core.Translator.BaseTranslator import BaseTranslatorMixin, _StrictLog
|
||||
from lib.core.Translator.AnnotationLoader import AnnotationLoaderMixin
|
||||
@@ -30,4 +31,4 @@ class Translator(
|
||||
pass
|
||||
|
||||
|
||||
__all__ = ['Translator', '_StrictLog']
|
||||
__all__: list[str] = ['Translator', '_StrictLog']
|
||||
|
||||
Reference in New Issue
Block a user