Skip to content

Conversation

tothtamas28
Copy link
Contributor

This PR adds the missing cases for SMIR.allocs

@tothtamas28 tothtamas28 self-assigned this Sep 9, 2025
Comment on lines +622 to +627
@dataclass
class GenericArgKind:
@staticmethod
def from_dict(dct: dict[str, Any]) -> GenericArgKind:
_LOGGER.warning(f'Unparsed GenericArgKind data encountered: {dct}')
return GenericArgKind()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pruned further modeling here, but GenericArgKind can be turned into a base class if needed.

@tothtamas28 tothtamas28 marked this pull request as ready for review September 9, 2025 09:31
Copy link
Collaborator

@dkcumming dkcumming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good! @jberthold do you see anything that would need changing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants