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

[SR-15144] Support variadic enum cases #57470

Open
swift-ci opened this issue Sep 1, 2021 · 1 comment
Open

[SR-15144] Support variadic enum cases #57470

swift-ci opened this issue Sep 1, 2021 · 1 comment
Labels
compiler The Swift compiler in itself feature A feature request or implementation swift evolution proposal needed Flag → feature: A feature that warrants a Swift evolution proposal

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Sep 1, 2021

Previous ID SR-15144
Radar rdar://46684504
Original Reporter mininny (JIRA User)
Type New Feature
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels New Feature, LanguageFeatureRequest
Assignee None
Priority Medium

md5: ee507b0a5d55e3f536c8704aafd3f59a

Issue Description:

Currently, enum cases with variadic associated values are not allowed. There's some history here: #21420 which says it should be supported in the long term.

I think we can support variadic enum cases now.

@swift-ci
Copy link
Collaborator Author

swift-ci commented Sep 1, 2021

Comment by Minhyuk Kim (JIRA)

If this addition to the language is aligned with the project's plan, I'd like to give this a shot.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added swift evolution proposal needed Flag → feature: A feature that warrants a Swift evolution proposal and removed new feature labels Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler in itself feature A feature request or implementation swift evolution proposal needed Flag → feature: A feature that warrants a Swift evolution proposal
Projects
None yet
Development

No branches or pull requests

2 participants