[SR-12381] Enum pattern matching in return statements #54817
Labels
compiler
The Swift compiler in itself
duplicate
Resolution: Duplicates another issue
expressions
Feature: expressions
feature
A feature request or implementation
pattern matching
Feature: pattern matching
swift evolution proposal needed
Flag → feature: A feature that warrants a Swift evolution proposal
Additional Detail from JIRA
md5: 69cc01716679da7d91cfaa3a3aa5b829
duplicates:
Issue Description:
It would be nice to be able to use pattern matching within return statements so that this code could be simplified.
vs
The text was updated successfully, but these errors were encountered: