Swift: Recursive arrays crash the compiler

Originator:marcel.weiher
Number:rdar://17271232 Date Originated:
Status:Open Resolved:
Product: Product Version:
Classification:Crash Reproducible:Always
 
var a1 :Any[] = [ 0 ] 
var a2 :Any[] = [ 0 ]
a1[0]=a2
a2[0]=a1

Result: compiler crash.  Also crashes Xcode if entered into a playground.

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!