mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
`verifyUnknown()` and `verifyUnrelated()` would not remove the diagnostics after reporting their errors, leading to the same diagnostics then being emitted a second time. This removes them from the list after emitting them, just like `verifyFile()` does.