[SR-14862] "Failed to produce diagnostic" even though the error message looks fine #57209
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
type checker
Area → compiler: Semantic analysis
Attachment: Download
Additional Detail from JIRA
md5: 106c53ee909673c989f3fa90c77144d9
Issue Description:
It looks like the error message is correctly telling me that `ViewModel` is outside the scope of the newly added WatchPrivateDatabase target, yet there is the added error message “failed to produce diagnostic…”
I've also filed this in Feedback Assistant under FB9227213 with the relevant logs and attachments. This is my first time filing a bug in the swift.org system, please let me know if I can be more precise or helpful.
![](Screen Shot 2021-06-30 at 10.36.05 PM.png)
The text was updated successfully, but these errors were encountered: