Xcode playground with documentation crash on edit on single swift code
| Originator: | cescofry | ||
| Number: | rdar://18336297 | Date Originated: | 15/09/2014 |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | 6 |
| Classification: | Crash | Reproducible: | Always |
Summary: In a playground with documentation (part swift code, part html) if there is a single swift part of code Xcode will crash if try to modify on the last line of the code. Steps to Reproduce: 1) Open a playground with only a single snippet of code (example attached) 2) focus on the last line of the code snippet 3) start to enter characters Expected Results: characters to appear on the screen Actual Results: Xcode crashes (see log) Version: Xcode 6 Beta 7 / GM / 6.1 Beta 1 Notes: In the crash log there is a reference to an array out of bounds at position 124. 124 is the text length of the swift code. Configuration: Macbook Pro / Macbook Air / Mac Mini Attachments: 'playground_crash.log', 'Screen Shot 2014-09-15 at 14.17.26.png' and 'README.playground.zip' were successfully uploaded.
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!