[SR-14820] Failed to produce diagnostic #2 (SwiftUI) #57168
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
failed to produce diagnostic
Bug → internal error: Failed to produce diagnostic for expression
SwiftUI
Flag: Related to (but not an issue with) SwiftUI
type checker
Area → compiler: Semantic analysis
Environment
macOS Monterey 12.0 Beta (21A5248p)
Xcode 13.0 beta (13A5154h)
Tested toolchains:
Default Xcode 13.0 Swift Toolchain and
Swift 5.5 Development Snapshot 2021-06-14 (a)
Swift 5.5 Development Snapshot 2021-06-23 (a)
Additional Detail from JIRA
md5: 7b37c401ca187bcf47294bab380a51ae
Issue Description:
These two examples show the "Failed to produce diagnostic..." error but the compiler still shows the correct "Expected member name following '.'" error at the
Text("").
line.The second example only removes "List" but keeps the brackets.
The text was updated successfully, but these errors were encountered: