Skip to content

[ConstraintSystem] Fix support for a single pack expansion parameter … #64608

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 28, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Mar 24, 2023

…in init references

In Swift 5 and earlier initializer references are handled in a special way
that uses a type variable to represent a type of the parameter list.
Such type variables should be allowed to bind to a pack expansion type
to support cases where initializer has a single unlabeled variadic generic
parameter - init(_ data: repeat each T).

…in `init` references

In Swift 5 and earlier initializer references are handled in a special
way that uses a type variable to represent a type of the parameter
list. Such type variables should be allowed to bind to a pack expansion
type to support cases where initializer has a single unlabeled variadic
generic parameter - `init(_ data: repeat each T)`.
@xedin xedin requested a review from hborla as a code owner March 24, 2023 16:05
@xedin
Copy link
Contributor Author

xedin commented Mar 24, 2023

@swift-ci please test

@xedin xedin merged commit 736fc8b into swiftlang:main Mar 28, 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.

3 participants