Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't skip generic aliases when reading a generic parameter #24822

Draft
wants to merge 4 commits into
base: devel
Choose a base branch
from

Conversation

ire4ever1190
Copy link
Contributor

@ire4ever1190 ire4ever1190 commented Mar 29, 2025

Fixes #24791

When reading a generic parameter it currently skips generic aliases which causes problems when the generic parameter is defined on the alias.

This adds a parameter to stop that skipping so when reading the field we don't skip it which allows reading fields that are defined on the aliases itself

@ire4ever1190 ire4ever1190 marked this pull request as draft March 29, 2025 09:23
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.

Can't access generic parameters in a generic alias that don't appear in aliased type
1 participant