Skip to content

Sema: Partial revert of #67939 [5.9] #68632

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

Conversation

slavapestov
Copy link
Contributor

  • Description: We require that a generic function mentions all generic parameters in its interface type, so that the solver can actually bind them when type checking a call to a function. PR Sema: Fix two problems in checkReferencedGenericParams() analysis [5.9] #67939 fixed a bug in this analysis with parameter packs and type aliases. The second part of the fix was source breaking, so we decided not to take it in 5.9.

  • Risk: None.

  • Reviewed by: @hborla

@slavapestov slavapestov requested a review from a team as a code owner September 19, 2023 18:16
Since it is source-breaking with existing code, we decided not to
take the TypeAliasType fix for the 5.9 branch.
@slavapestov slavapestov force-pushed the revert-referenced-generic-param-fix-5.9 branch from 9873411 to 67d59a5 Compare September 19, 2023 18:16
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov merged commit 666ab9f into swiftlang:release/5.9 Sep 20, 2023
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