Skip to content

Variadic generic diagnostics [5.9] #65769

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

@slavapestov slavapestov commented May 8, 2023

A variadic generic type cannot declare more than one pack in its generic parameter list. This is an intentional restriction in the design.

Also the current implementation does not support variadic enums, or inheritance from variadic classes. These last two will go away eventually.

@slavapestov slavapestov requested a review from a team as a code owner May 8, 2023 16:58
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test macOS

@slavapestov
Copy link
Contributor Author

@swift-ci Please clean test macOS

@slavapestov slavapestov merged commit 8f3a91e into swiftlang:release/5.9 May 9, 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