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

[Sema] Requestify pattern resolution #74387

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

hamishknight
Copy link
Contributor

Add a cached request to perform pattern resolution. This is needed to prevent the constraint system from resolving the same pattern multiple times along different solver paths, which could result in creating different pattern nodes for each path. Once pattern resolution is moved to pre-checking we ought to be able to make this uncached.

rdar://128661960

Add a cached request to perform pattern resolution.
This is needed to prevent the constraint system
from resolving the same pattern multiple times
along different solver paths, which could result
in creating different pattern nodes for each path.
Once pattern resolution is moved to pre-checking
we ought to be able to make this uncached.

rdar://128661960
@hamishknight
Copy link
Contributor Author

@swift-ci please SourceKit stress test

@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please test source compatibility

@hamishknight hamishknight merged commit 23a85d1 into swiftlang:main Jun 20, 2024
8 checks passed
@hamishknight hamishknight deleted the pattern-resolution branch June 20, 2024 20:07
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.

3 participants