SourceKitService crashes when autocompleting methods from Framework

Originator:info
Number:rdar://22596105 Date Originated:06-Sep-2015 11:46 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7 Beta 6
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
It’s currently impossible to autocomplete code imported from the attached framework. Attempting to do so results in an immediate SourceKit crash.

Steps to Reproduce:
- Create a Mac project.
- Link to attached frameworks (ReactiveCocoa.framework and Result.framework).
- Create a file and `import ReactiveCocoa`.
- Write a function with this code: `SignalProducer(value: 1)`
- Type a dot (.) after the previous declaration.

Expected Results:
- Xcode autocompletes the available methods.

Actual Results:
- SourceKit crashes (you can see an example crash in the attached ZIP file).

Regression:
This is a regression from Beta 5.

Notes:
The built framework corresponds to this commit of ReactiveCocoa: https://github.com/ReactiveCocoa/ReactiveCocoa/commit/5e75726bf232b76b17169b3d9c9c64d1fd6bffbe

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!