[SR-5372] Allow default values for associated values of enums #47946
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
Additional Detail from JIRA
md5: a119be7daddb9dbe647ae724d66fcf54
duplicates:
Issue Description:
Currently, enum associated values can not have default values. This prevents us from doing something like this:
The text was updated successfully, but these errors were encountered: