Typing `print` in a playground crashes SourceKit

Originator:axlle99
Number:rdar://25355388 Date Originated:25-Mar-2016
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7.3
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
Typing `print` without an argument or parentheses crashes SourceKit.

Steps to Reproduce:
1. Launch Xcode
2. Select "Get started with a playground"
3. Click "Next" and choose a folder
4. Type "print"

Expected Results:
Xcode should print "Hello, playground" in the side inspector at line 5.

Actual Results:
SourceKit crashes and the side inspector is empty.

Version:
Xcode 7.3 (7D175)

Notes:


Configuration:
iMac 5K 2014 and Macbook Air 2011

Attachments:
'Journey.playground.zip' and 'com.apple.dt.Xcode.Playground_2016-03-25-000109_William-Greens-MacBook-Air.crash' 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!