Skip to content

Conversation

hamishknight
Copy link
Contributor

Turns out we don't always set a completion callback for some unqualified completion positions. Upgrade the check for a completion callback to a check for a completion buffer to account for this. This avoids unnecessary type-checker work as well as fixing a couple of double-type-checking crashers.

Turns out we don't always set a completion callback for some unqualified
completion positions. Upgrade the check for a completion callback to
a check for a completion buffer to account for this. This avoids
unnecessary type-checker work as well as fixing a couple of
double-type-checking crashers.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please SourceKit stress test

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@hamishknight
Copy link
Contributor Author

@swift-ci please smoke test macOS

@hamishknight hamishknight enabled auto-merge August 30, 2025 08:55
@hamishknight hamishknight merged commit 9b3d2a0 into swiftlang:main Aug 30, 2025
5 of 6 checks passed
@hamishknight hamishknight deleted the duet branch August 30, 2025 16:42
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.

2 participants