Skip to content

[CSFix] Fix a null pointer dereference in getStructuralTypeContext #79592

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

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Feb 24, 2025

First problem - the logic used constraint system, which shouldn't be required,
second - it expects the type to be always present in ContextualTypeInfo but
that's not the case for some patterns.

Resolves: rdar://131819800

First problem - the logic used constraint system, which shouldn't
be required, second - it expects the type to be always present in
`ContextualTypeInfo` but that's not the case for some patterns.

Resolves: rdar://131819800
@xedin xedin requested a review from hborla as a code owner February 24, 2025 23:23
@xedin
Copy link
Contributor Author

xedin commented Feb 24, 2025

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Feb 25, 2025

@swift-ci please test Windows platform

@xedin xedin merged commit 050c69d into swiftlang:main Feb 25, 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