Swift compiler crashes also crash all of XCode

Originator:marcel.weiher
Number:rdar://17272322 Date Originated:
Status:Open Resolved:
Product:Xcode Product Version:6.0
Classification:Crash Reproducible:Always
 
Code that crashes the swift compiler also crashes all of Xcode when executed in a playground (see 17271232 ).

Playgrounds probably need to have a process-isolated compiler + execution environment.

Steps to Reproduce:
Enter the following code into a Playground:

var a1 :Any[] = [ 0 ] 
var a2 :Any[] = [ 0 ]
a1[0]=a2
a2[0]=a1


Expected Results:
Code executes.

Actual Results:
Xcode crashes.

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!