Objective-C method parameters with generics are incorrectly escaped in method popover for Xcode 8

Originator:sam.lu
Number:rdar://28518147 Date Originated:28-Sep-2016 04:51 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 8.0 (8A218a)
Classification:Other Reproducible:Always
 
Summary:
For objective-c method declarations that include generics for a parameter, option-clicking on the method name will show the declaration being incorrectly escaped.

Eg. For a method like:
- (void)setupConstraintsWithViews:(NSDictionary<NSString *, UIView *> *)views

its popover (via option-click) will show:
- (void)setupConstraintsWithViews:(NSDictionary&lt;NSString *, UIView *&gt; *)views;

Steps to Reproduce:
1. Run Xcode 8
2. Create a new project (using objective-c)
3. Create a new class and add a method to it that uses generics like mentioned in the description above
4. Option-click on your new method and observe in the popover that the declaration is incorrectly escaped

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!