Xcode 9 beta 2: crash when deleting code

Originator:igeek1
Number:rdar://33167755 Date Originated:06-Jul-2017 06:01 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9.0 beta 2 (9M137d)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
When deleting a line that had previously crashed in a Playground, and then deleting the line before that, Xcode crashes.

Steps to Reproduce:
1. Try to reproduce http://www.openradar.me/33167662 in a Playground (probably not relevant - just what I happened to be doing when Xcode crashed).
2. Select the line containing the crashing code.
3. Delete the line.
4. Delete the line that was before that line.

Expected Results:
No crash.

Actual Results:
Xcode crashes.

Version:
Xcode 9.0 beta 2 (9M137d)

Notes:
Attached video and crash log also uploaded to https://cl.ly/lRJw

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!