Skip to content

fix: Keep unions in type arguments and resolve nested generics - #21

Merged
remimd merged 2 commits into
devfrom
fix/matching-types-generics
Oct 25, 2026
Merged

remimd merged 2 commits into
devfrom
fix/matching-types-generics

Conversation

@remimd

@remimd remimd commented Oct 25, 2026

Copy link
Copy Markdown
Member

No description provided.

remimd and others added 2 commits October 25, 2026 17:55
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Type arguments keep their unions: list[int | str] no longer becomes list[int].
- Generics are substituted through every level of bases and type aliases.
- Group a type hint with its origin in a _TypeHint object.
- Rewrite the tests, mirroring the source tree, with full coverage.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@remimd remimd self-assigned this Oct 25, 2026
@remimd
remimd merged commit f97215b into dev Oct 25, 2026
7 checks passed
@remimd
remimd deleted the fix/matching-types-generics branch October 25, 2026 16:59
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.

1 participant