Xcode-6.3 (6D570): Swift compiler crash

Originator:segiddins
Number:rdar://20489266 Date Originated:09-Apr-2015 02:39 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-6.3 (6D570)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
The swift compiler crashes on the attached project.

Steps to Reproduce:
Attempt to compile the attached project in Xcode 6.3

Expected Results:
The project should either compile or emit compiler errors

Actual Results:
The compiler crashes with the following output:

Stored value type does not match pointer operand type!
  store i8* bitcast (void (%objc_block*, %swift.refcounted*)* @_TPA__TTRG0_R_XFo__dT__XFdCb__dT__ to i8*), %objc_block** %6, align 8, !dbg !116
 %objc_block*LLVM ERROR: Broken function found, compilation aborted!


Regression:
N/A

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!