[SR-11672] Switch exhaustiveness fixit should not add @unknown default
for frozen enums
#54081
Labels
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
improvement
Additional Detail from JIRA
md5: f5caad4357048c12d498bcefbaeb33f1
Issue Description:
Given
the fixit generates the following:
Upon filling the placeholders, the compiler immediately complains that Default will never be executed. The fixit should not add the @unknown default.
The text was updated successfully, but these errors were encountered: