"return" should be displayed differently if returning from block
| Originator: | me | ||
| Number: | rdar://11079058 | Date Originated: | 19-Mar-2012 07:52 PM |
| Status: | Duplicate/9794847 | Resolved: | |
| Product: | Developer Tools | Product Version: | 4.3.1 (4E1019) |
| Classification: | Enhancement | Reproducible: | Not Applicable |
When using blocks, it's difficult to quickly determine which scope a "return" statement corresponds to (whether it returns from, say, an enumeration block, or the method itself). It would be great if the Xcode editor could indicate which scope it corresponds to. Perhaps it could be shown in the leading indentation. While you're at it, it would be similarly great for "continue" and "break" statements.
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!