[SR-14640] Attempting to use a view that is an optional will result in "Failed to produce diagnostic for expression" for entire view #56992
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
Additional Detail from JIRA
md5: e83f867342355d5944d77d6f00073752
Issue Description:
I'm using SwiftUI and have a view that is an optional. Rather than getting a warning about using an optional or a compile error for it XCode failed to produce a diagnostic for it. I clicked the option to send bug report and now I'm here. Not even sure if this is the place for swiftui bugs but yeah. LMK how I can easily submit the project for further inspection.
The text was updated successfully, but these errors were encountered: