[SR-10272] Mirror
fails to reflect enums that have a single-case enum as their associated values.
#52672
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
runtime
The Swift Runtime
standard library
Area: Standard library umbrella
Environment
Playground
Swift 4.2, Xcode 10.1
Swift 5.0, Xcode 10.2
Additional Detail from JIRA
md5: 596868fcf15743724a3511c32101f02d
Issue Description:
If the inner enum type has more than one case, `Mirror` can reflect without issue.
But if the inner enum type has just one case, `Mirror` returns no children at all.
Code snippet:
The text was updated successfully, but these errors were encountered: