fix(tpv): 修复 vpi 重导出包前缀与 D25 变量名悬垂,补齐 fatal_error 刷盘
VpiReader 包 __init__ 重导出补包前缀,类注册与方法声明两遍化,按需注入依赖 vpi(先登记后注入防环,失败撤销登记);VarGenMixin 的 add_var 深拷贝变量名,符号表条目不再依赖 AST tree 生命周期;CallGenCall 的 list 内建与泛型基类判定类名来源回退到接收者实际 struct 名;TypeGenErr 的 fatal_error 退出前 fflush;StubMergerBuild 每模块重置 vpi 注入去重表
This commit is contained in:
1 parent
626f79cbd1
commit
17f109e204
7 files changed
+230
-41
No files matched your search
@@ -1552,7 +1552,7 @@ class AssignGenMixin:
|
||||
# 类型一致才能命中局部数组快路径,避免 _find_pool_var 兜底引用 @_mbuddy。
|
||||
var_ty = self._infer_static_array_ty_from_literal(pool, annot, aa.value, var_ty)
|
||||
|
||||
# 普通局部变量
|
||||
# 普通局部变量
|
||||
# 创建 alloca
|
||||
alloca: llvmlite.Value | t.CPtr = self.Gen.VarGen.get_or_create_sym(
|
||||
trans.SymTab, pool, builder, nm.id, var_ty)
|
||||
|
||||
Reference in new issue
Block a user