Xcode 6.2 (6C131e): multiple /// documenting comments are concatenated without whitespace between them
| Originator: | isaac.greenspan | ||
| Number: | rdar://20925181 | Date Originated: | 12-May-2015 04:56 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 6.2 (6C131e) |
| Classification: | Other Bug | Reproducible: | Always |
Summary: While Xcode combines the contents of multiple lines beginning with /// into a single block of documentation, it does not insert whitespace into them, at least in Objective-C. (In a Playground, whitespace is inserted between the lines.) Steps to Reproduce: 1. Create a new project (command line tool is simplest). 2. Declare a function and put two triple-slash comments above it (e.g., “///first” and “///second”). 3. Option-click on the function name to display the in-line documentation. 4. Observe that the two lines are concatenated without any space between them (e.g., “firstsecond”). Expected Results: Whitespace (specifically, at least one space character) is inserted between the concatenated lines (e.g., “first second”). Actual Results: The lines are concatenated without any space between (e.g., “firstsecond”). Regression: Occurs in OS X command line tool project with Objective-C file. Does not occur in Playground. Notes: Example project attached; screenshot inside the attached project.
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!