Describe the bug
The AST one gets from compilation->getRoot() on a built Compilation doesn't seem to provide for a way to get to the attributes that were placed on module declarations.
To Reproduce
Using e.g. slang-netlist --ast-json to get the compiled AST dump from
which doesn't mention the attribute. When I put an attribute elsewhere to attach on something other than a module, I see it in the AST dump, which suggests to me attributes are lost for modules but shouldn't be.
Describe the bug The AST one gets from
compilation->getRoot()
on a builtCompilation
doesn't seem to provide for a way to get to the attributes that were placed on module declarations.To Reproduce Using e.g.
slang-netlist --ast-json
to get the compiled AST dump fromI see
which doesn't mention the attribute. When I put an attribute elsewhere to attach on something other than a module, I see it in the AST dump, which suggests to me attributes are lost for modules but shouldn't be.