[SR-14818] Failed to produce diagnostic (SwiftUI) #57166
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: 3d42c213239f970ba768878df8a26fc3
Issue Description:
This snippet produces a "Failed to produce diagnostic for expression..." error. This example was reduced from the WWDC 21 Code-Along "SwiftUI on the Mac:*" series.
I've also tested with the latest development toolchain available (Swift 5.5 Development Snapshot 2021-06-14 (a)).
The text was updated successfully, but these errors were encountered: