feat/stubgen: fix pun field typing error
This commit is contained in:
@@ -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)}"
|
||||
|
||||
Reference in New Issue
Block a user