[SR-10429] Compiler crash with conditional conformance to Expressible* protocol #52829
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
diagnostics QoI
Bug: Diagnostics Quality of Implementation
failed to produce diagnostic
Bug → internal error: Failed to produce diagnostic for expression
regression
swift 5.0
type checker
Area → compiler: Semantic analysis
Environment
Swift 5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3)
Xcode 10.2 (10E125)
macOS 10.14.4 (18E226)
Additional Detail from JIRA
md5: 8daab1e7ba0426b1245a9136c9f9ce12
duplicates:
relates to:
Issue Description:
The following code crashes the compiler and gives a “Failed to produce diagnostic” error:
For comparison:
The text was updated successfully, but these errors were encountered: