You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, probably the invalid specialization should not be added to the specialization map. Or at the very least it can be filtered out during serialization.
Describe the bug
Consider test.sv:
./bin/slang test.sv --ast-json test.json
producesNotice specializations of the generic class contains one member, which has an invalid type parameter. These are created, on purpose, for diagnostic purposes (see https://github.com/MikePopoloski/slang/blob/master/source/ast/ElabVisitors.h#L447-L454), but they probably shouldn't persist in the AST. Am I wrong?
To Reproduce
See above commands.
Additional context
Thanks, you rock.
The text was updated successfully, but these errors were encountered: