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-5372] Allow default values for associated values of enums #47946

Closed
swift-ci opened this issue Jul 5, 2017 · 1 comment
Closed

[SR-5372] Allow default values for associated values of enums #47946

swift-ci opened this issue Jul 5, 2017 · 1 comment
Labels
compiler The Swift compiler in itself feature A feature request or implementation swift evolution implemented Flag → feature: A feature that was approved through the Swift evolution process and implemented

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Jul 5, 2017

Previous ID SR-5372
Radar None
Original Reporter Reitzig (JIRA User)
Type New Feature
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels New Feature, LanguageFeatureRequest
Assignee None
Priority Medium

md5: a119be7daddb9dbe647ae724d66fcf54

duplicates:

Issue Description:

Currently, enum associated values can not have default values. This prevents us from doing something like this:

@belkadan
Copy link
Contributor

belkadan commented Jul 5, 2017

This needs to go through the Swift Evolution Process.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added swift evolution implemented Flag → feature: A feature that was approved through the Swift evolution process and implemented and removed new feature labels Nov 11, 2022
This issue was closed.
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 implemented Flag → feature: A feature that was approved through the Swift evolution process and implemented
Projects
None yet
Development

No branches or pull requests

3 participants