Xcode-Beta (6D520o): -Swift.h header created with a property declared as "enum enum"
| Originator: | jacob | ||
| Number: | rdar://19769964 | Date Originated: | 09-Feb-2015 02:38 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode-Beta (6D520o) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: A Swift class that has a property of an enum declared as NS_ENUM in a .h file, that is later used in an Obj-C file creates a non-compilable automatic -Swift.h header file. Specifically, the enum property in Swift class is imported as @property (nonatomic) enum enum enumVarName which doesn’t compile. Steps to Reproduce: Build the attached project Expected Results: Compilable code generation (only one enum in the property declaration) Actual Results: Wrong declaration Regression: Built just fine in Swift 1.1 Notes:
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!