Xcode-beta (7A192o): Refactor does not take into account casting, ObjC generics and __kindof class uses
Originator: | lnatan25 | ||
Number: | rdar://22513959 | Date Originated: | 01-Sep-2015 08:59 AM |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | Xcode-beta (7A192o) |
Classification: | UI/Usability | Reproducible: | Always |
Summary: Xcode 7 introduces ObjC generics and __kindof, however the refactoring tools have not been updated with support. Result is, when renaming a class and compiling, there are compilation errors on casting, generics, __kindof. Steps to Reproduce: Create a class Cast an instance of an object to that class. Declare an NSArray of __kindof that class objects. Rename the class Expected Results: All uses of the class name should be renamed to the new name Actual Results: Some cases are handled, while others are not. Regression: This happens on all Xcode 7 betas Notes: N/A
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!