[SR-10258] Enum CaseIterable produces AllCases (not allCases) function #52658
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
Xcode 10.2
Swift 5
Additional Detail from JIRA
md5: 38eae80b6215c6e4b59f4a917848c181
Issue Description:
I'm not sure if this is intentional or not.
When conforming to CaseIterable, an Enum has a 'class style' function generated called AllCases. It doesn't produce a compile or warning and is an empty array.
Reproduction steps:
The text was updated successfully, but these errors were encountered: