Skip to content

Fix bug with multiple generic inheritence#626

Merged
jcrist merged 1 commit intomainfrom
fix-multiple-inheritence-generic-bug
Jan 5, 2024
Merged

Fix bug with multiple generic inheritence#626
jcrist merged 1 commit intomainfrom
fix-multiple-inheritence-generic-bug

Conversation

@jcrist
Copy link
Copy Markdown
Owner

@jcrist jcrist commented Jan 5, 2024

Previously if the same generic base class appeared multiple times in a classes inheritence graph msgspec would error when trying to analyze the class. This PR fixes the bug and adds a test for the behavior.

Fixes #625.

Previously if the same generic base class appeared multiple times in a
classes inheritence graph msgspec would error when trying to analyze the
class. This PR fixes the bug and adds a test for the behavior.
@jcrist jcrist merged commit a5674c1 into main Jan 5, 2024
@jcrist jcrist deleted the fix-multiple-inheritence-generic-bug branch January 5, 2024 02:19
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.

UnboundLocalError for new_scope

1 participant