[SR-6007] SourceKit crash when having unresolved identifier and undeclared type for generic closure #48564
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
refactoring
Area → source tooling: refactoring
Attachment: Download
Environment
Tested with:
• Swift version 4.0 release (swiftlang-900.0.65 clang-900.0.37)
• Swift 4.0 development snapshot from September 26, 2017
Additional Detail from JIRA
md5: 7580b58bda9bcc4f296aba82cfb88bbf
Issue Description:
I have attached a zip with:
• Xcode project containing the source file to reproduce (I could not reproduce in a Playground, so Xcode project seems necessary.)
• Crash log from Swift 4.0 release (SourceKitService (900.0.65))
• 3 different crash logs showing different assertions failing with Swift 4.0 development snapshot (from September 26 2017)
The crash (or assertions) seem to get hit pretty randomly (e.g. while typing a comment), but can be reproduced consistently by selecting lines 40-44 and indenting (cmd-[ or cmd-]).
The text was updated successfully, but these errors were encountered: