Skip to content

Commit

Permalink
pyast_gen_pass.py file is modified to fix Architype Definition Bug fo…
Browse files Browse the repository at this point in the history
…r Walkers and Nodes
  • Loading branch information
Thamirawaran authored Oct 7, 2024
1 parent e058f21 commit 3d5e756
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jac/jaclang/compiler/passes/main/pyast_gen_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,11 @@ def collect_events(
args=[
self.sync(ast3.Constant(value=i.sym_name)),
(
i.signature.arch_tag_info.gen.py_ast[0]
self.sync(
ast3.Constant(
value=f"{i.signature.arch_tag_info.gen.py_ast[0].id}"
)
)
if i.signature.arch_tag_info
else self.sync(ast3.Constant(value=None))
),
Expand Down

0 comments on commit 3d5e756

Please sign in to comment.