Skip to content

[5.9] [stdlib] Add support for classes in _createOffsetBasedKeyPath #66932

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
Jun 27, 2023

Conversation

Azoy
Copy link
Contributor

@Azoy Azoy commented Jun 26, 2023

• Explanation: This adds support for classes to be used in this SPI as well as adding the offset optimization for struct type key paths.
• Scope of Issue: Fixes a bug when using this API with class root types.
• Origination: Reflection work.
• Risk: Low -- New underscored API who isn't inlined who is only being used by reflection.
• Reviewed By: @stephentyrone
• Automated Testing: Swift CI
• Dependencies: None
• Builder Impact: Not applicable
• Directions for QE: None

Resolves: rdar://110547963

[stdlib] Add support for classes in _createOffsetBasedKeyPath
@Azoy Azoy requested a review from a team as a code owner June 26, 2023 18:28
@Azoy
Copy link
Contributor Author

Azoy commented Jun 26, 2023

@swift-ci please test

@Azoy
Copy link
Contributor Author

Azoy commented Jun 27, 2023

@swift-ci please test

@Azoy Azoy merged commit 665a6c9 into swiftlang:release/5.9 Jun 27, 2023
@Azoy Azoy deleted the keypath-offset-spi-59 branch June 27, 2023 16:22
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.

2 participants