Skip to content

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