Swift: Rename "union" style enums to "union"

Originator:christoffer
Number:rdar://17259196 Date Originated:11-Jun-2014 00:33 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Version 6.0 (6A215l)
Classification: Reproducible:Always
 
"enum" style enums and "union" style enums work very differently. They almost differ as much as structs and classes.

For that reason, it's confusing that they share the exact same declaration.

Please change "union" style enums to be called "union" (or similar) instead.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!