Quick Help for class properties in guard statements crashes SourceKitService

Originator:SaagarJha28
Number:rdar://32430338 Date Originated:26-May-2017 11:43 AM
Status:Closed Resolved:08-Jun-2017 12:39 AM
Product:Developer Tools Product Version:Xcode Version 8.3.2 (8E2002)/macOS Sierra 10.12.6 Beta (16G8c)
Classification:Crash/Hang/Data Lossr Reproducible:
 
Summary:
Invoking Quick Help on a class's property inside a guard statement will crash SourceKitService. I've attached a sample project that demonstrates the setup.

Steps to Reproduce:
1. Invoke Quick Help on the variable in the guard statement.
2. Crash.

Expected Results:
No crash.

Observed Results:
Crash.

Version:
Xcode Version 8.3.2 (8E2002)/macOS Sierra 10.12.6 Beta (16G8c)

Notes:


Configuration:
Early 2015 MacBook Pro with Retina Display running macOS Sierra 10.12.6 Beta (16G8c)

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!