Providing Generic Generator for protocol intermittently crashes compiler

Originator:GriotSpeak
Number:rdar://22107434 Date Originated:02-Aug-2015 05:41 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-beta (7A165t)
Classification:Enhancement Reproducible:Always
 
Summary:
the following code crashes the compiler. I am not *sure* that the generic generator causes the crash, but it didn’t begin crashing until I implemented it.

Steps to Reproduce:
open the provided file in a swift project.

Expected Results:
Successful build or explicit errors

Actual Results:
Command-b hangs and source kit intermittently 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!