//MARK: with no trailing content breaks rendering of landmark separators in the jump bar

Originator:pete
Number:rdar://17824226 Date Originated:27/6/2014
Status:Open Resolved:
Product:Xcode Product Version:6A267n
Classification: Reproducible:Always
 
Summary:
Marking a swift source file with //MARK: landmark breaks subsequent landmark rendering in the jump bar if there are no characters following the colon. If a space is added after colon, "//MARK: ", subsequent landmarks render correctly

Steps to Reproduce:
Add a //MARK: landmark to a source file with no characters after the colon. Add further landmarks to the source file

Expected Results:
All landmarks should be shown in the jump bar

Actual Results:
Only the first landmark is shown in the jump bar

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!