Skip to content

Fix pack conformance availability checking [5.9] #67938

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

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Aug 15, 2023

  • Description: We forgot to walk into PackConformances when checking conformance availability, as a result you could reference an unavailable witness table pointer and get a crash at runtime.

  • Origination: Never worked.

  • Risk: Low, might cause the compiler to reject invalid code we used to accept.

  • Tested: New tests added.

  • Reviewed by: @tshortli

@slavapestov slavapestov requested a review from a team as a code owner August 15, 2023 16:12
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov merged commit aa782fd into swiftlang:release/5.9 Aug 15, 2023
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