[SR-14954] [Segment Fault] [Demo Provided] Clang failed to build a Swift subclass of a Obj-C class when using NSDictionary with block as it's generic parameter #57296
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
code completion
Area → source tooling: code completion
compiler
The Swift compiler in itself
source tooling
Area: IDE support, SourceKit, and other source tooling
Attachment: Download
Environment
I was using Xcode 13 beta 3 to create this demo. However Xcode 12.5.1 was tested, and failed as expected.
Additional Detail from JIRA
md5: b084634c55c05bec98b88d99f47588ec
Issue Description:
Please check out this demo:
https://github.com/shengyang998/SwiftCompilationAndRuntimeCrash
It will be failed to build.
Here is the build log:
If you try to override the property `handlers`, you will find an error occurred in the autocompleted code.
It says:
The text was updated successfully, but these errors were encountered: