MARK/TODO/FIXME in computed property implementations indented incorrectly in overview

Originator:julian.dunskus
Number:rdar://45969760 Date Originated:10-Nov-2018 10:46 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:10.1
Classification:Other Bug Reproducible:Always
 
Summary:
In the “Document Items” overview (ctrl-6) for a swift file, MARKs, TODOs, and FIXMEs (not sure if there are more, but I bet they’d also be affected) are indented incorrectly when within computed property implementations. I’ve attached an example.

Steps to Reproduce:
1. declare a computed property
2. add a MARK or something to its implementation
3. open the “Document Items” overview (ctrl-6)

Expected Results:
The marker is indented, as within method implementations.

Actual Results:
The marker is not indented, as if it were just within the surrounding class.

Version:
10.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!