[SR-2321] Unexpected error diagnostics on internal bridged type #44928
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
Attachment: Download
Additional Detail from JIRA
md5: 6dab34f6be15d9f030f4c15e2c4bebe5
Issue Description:
There has been a regression in Swift's errors on invalid code. Sometimes, in addition to the actual errors in the source file, Swift will also emit what appear to be errors w.r.t. some internal synthesized types. I suspect this is related to the NSError bridging work.
Here is an example, using SwiftPM c7f6dae with the attached patch applied. Notice all the error spew about missing == on CTFontManagerError.
I've been hitting this a lot recently, but don't have a smaller test case unfortunately.
The text was updated successfully, but these errors were encountered: