Swift structs with more than 256 members result in a compiler crash

Originator:Ryan.E.Peck
Number:rdar://19805853 Date Originated:2/11/2015
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.3 (6D520o)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Swift structs containing more than 256 members result in a compiler crash.

This is a problem for large structs generated by xcres to hold string constants for referencing resources.

Steps to Reproduce:
1. Create a Swift struct with 256 members
2. Add a 257th member to the struct
3. Let playground run or build project

Expected Results:
File should compile and the struct should be usable

Actual Results:
The compiler 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!