Open rroohhh opened 1 week ago
This can of course be fixed by making the data.Struct
, etc parts add special casing for "plain" Enum
s, however I am not sure if this is the most elegant way.
Do you want a PR implementing my suggested solution?
Let's ask @wanda-phi, who implemented this originally.
Take the following example:
This outputs (simplified)
I would have expected the
\b.a
wire to also have theenum_{base_type,value_*}
attributes, but these are only generated when I give my enum an explicitshape=...
.