Skip to content

Conversation

@hnrklssn
Copy link
Member

@hnrklssn hnrklssn commented Nov 8, 2025

This adds support for remarks, and fixes 3 minor bugs related to existing expected- diagnostics in the source file being replaced or removed.

This is based on top of #85390, so only the last 4 commits actually belong to this PR.

@hnrklssn
Copy link
Member Author

hnrklssn commented Nov 8, 2025

@swift-ci please smoke test

When replacing expected diagnostic content, we should consider
expected diagnostics targeting the same target, not targeting the line
the expected diagnostic is on.
This fixes a bug in the diagnostic stealing logic when multiple
diagnostics target the same line, which would trigger an assert.
@hnrklssn hnrklssn force-pushed the update-verify-tests-remarks branch from cad73ad to 5db7926 Compare November 12, 2025 00:35
@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

@hnrklssn hnrklssn merged commit 8631a89 into swiftlang:main Nov 12, 2025
3 checks passed
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.

1 participant