Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register diagnostics in currentDiagnostics when performing a diagnostic pull request #777

Merged

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jul 19, 2023

We were registering new diagnsotics in currentDiagnostics when the diagnostics got pushed to us by sourcekitd, but not when they were pulled using the diagnostic request.

Fixes #776
rdar://112539108

@ahoppen ahoppen requested a review from bnbarham July 19, 2023 21:41
@ahoppen
Copy link
Member Author

ahoppen commented Jul 19, 2023

@swift-ci Please test

…stic pull request

We were registering new diagnsotics in `currentDiagnostics` when the diagnostics got pushed to us by sourcekitd, but not when they were pulled using the diagnostic request.

Fixes swiftlang#776
rdar://112539108
@ahoppen ahoppen force-pushed the ahoppen/code-actions-for-pulled-diags branch from 9358e60 to 8804e95 Compare July 20, 2023 16:35
@ahoppen
Copy link
Member Author

ahoppen commented Jul 20, 2023

Thanks for the review @tristanlabelle. Two good catches

@ahoppen
Copy link
Member Author

ahoppen commented Jul 21, 2023

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Jul 22, 2023

@swift-ci Please test Windows

@ahoppen ahoppen merged commit 8cb76ba into swiftlang:main Jul 23, 2023
@ahoppen ahoppen deleted the ahoppen/code-actions-for-pulled-diags branch July 23, 2023 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve handling of unmet protocol conformance
3 participants