Skip to content

[6.0][Runtime] Fix CVW for genreic single payload enums with no extra inha… #73187

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 2 commits into from
Apr 23, 2024

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Apr 22, 2024

…bitants

Explanation: When the payload of a generic SPE did not have any extra inhabitants, we erroneously always treated it as the no payload case. Additionally the offset and skip values were improperly computed.
Scope: Only affects compact value witnesses
Risk: Low. Only affects CVW
Testing: Added test cases
Issue: rdar://126728925
Reviewer: @mikeash
Main branch PR: #73186

…bitants

rdar://126728925

When the payload of a generic SPE did not have any extra inhabitants, we erroneously always treated it as the no payload case.
Additionally the offset and skip values were improperly computed.
@drexin drexin requested a review from a team as a code owner April 22, 2024 21:01
@drexin
Copy link
Contributor Author

drexin commented Apr 22, 2024

@swift-ci test

@drexin
Copy link
Contributor Author

drexin commented Apr 22, 2024

@swift-ci test

@drexin drexin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.0 labels Apr 22, 2024
@drexin drexin changed the title [Runtime] Fix CVW for genreic single payload enums with no extra inha… [6.0][Runtime] Fix CVW for genreic single payload enums with no extra inha… Apr 22, 2024
@drexin
Copy link
Contributor Author

drexin commented Apr 23, 2024

@swift-ci test macos

@drexin drexin merged commit 092d01c into swiftlang:release/6.0 Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants