Skip to content

Fix type confusion when resolving nested generics #1762

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

Merged
merged 1 commit into from
Mar 27, 2021
Merged

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Mar 27, 2021

resolveTypeArguments was mixing the old (contextual) set of types with the new (call or instantiate) set of types, where if a type parameter had the same name it was overridden in the wrong place. This change splits them.

fixes #1714

  • I've read the contributing guidelines

@dcodeIO dcodeIO merged commit 07b9fb6 into master Mar 27, 2021
@dcodeIO dcodeIO deleted the issue-1714 branch June 1, 2021 15:20
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.

Wrong templated types in recursive templated function
1 participant