feat/stubgen: fix pun field typing error

This commit is contained in:
2026-07-09 19:08:20 +08:00
parent 29a1fdb19a
commit c8fa300a56
2 changed files with 8 additions and 12 deletions
-2
View File
@@ -197,8 +197,6 @@ def _resolve_cross_imports(
break
all_imports.append(tname)
if ref_info and ref_info.kind == "struct":
all_imports.extend([f"{tname}Builder", f"{tname}Reader"])
emitter.add_import(
f"from .{module_name} import {', '.join(all_imports)}"