Xcode9: Warnings for method declarations no longer visible when methods are folded

Originator:avedesk
Number:rdar://34617533 Date Originated:24-Sep-2017 10:56 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9
Classification:UI/Usability Reproducible:Always
 
Summary:
We use a custom linter tool to check ObjC that runs as a script and outputs warnings to Xcode. When a warning is outputted on first line of an objc-method implementation (-(void)bla {), those warnings no longer show up when the method is folded. This used to work in Xcode 8

Steps to Reproduce:
1. Have a method:
- (void)bla {
  NSLog(@"bla");
}

2. Have a warning on the first line of the method (the -(void)bla {) part.
3. Fold all methods

Expected Results:
The warning is still visible on the folded line

Actual Results:
Warning is not visible anymore, until the method is unfolded.

Version:
Xcode 9

Notes:
This is a regression from Xcode8: the warning used to be visible in Xcode 8, but no longer is in Xcode9.

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!