Skip to content

Values in generic types are only available in 6.2 #78617

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
Jan 14, 2025

Conversation

etcwilde
Copy link
Contributor

The values in generic types will only be available in Swift 6.2. Fixing this so it doesn't come back and bite us later.

rdar://142781302

@etcwilde etcwilde requested review from lorentey and Azoy January 13, 2025 20:32
@etcwilde etcwilde requested a review from a team as a code owner January 13, 2025 20:32
@etcwilde
Copy link
Contributor Author

@swift-ci please smoke test

@lorentey
Copy link
Member

We'll need to update all other SwiftStdlib 6.1 incantations in the same file (and elsewhere in #76438); @Azoy, are you working on that?

@Azoy
Copy link
Contributor

Azoy commented Jan 13, 2025

@lorentey I just mentioned this to Evan offline 👍

Values in generic types are only available as part of 6.2, not 6.1.
Fix the availability annotations on the slab type to match.

rdar://142781302
@etcwilde etcwilde force-pushed the ewilde/value-generic-types branch from 7914bfc to 6f823dc Compare January 13, 2025 20:43
@etcwilde
Copy link
Contributor Author

Fixed

@etcwilde
Copy link
Contributor Author

@swift-ci please smoke test

@etcwilde
Copy link
Contributor Author

@swift-ci please smoke test linux

@etcwilde etcwilde enabled auto-merge January 14, 2025 00:20
@etcwilde etcwilde disabled auto-merge January 14, 2025 00:27
@etcwilde etcwilde merged commit 6dcf7c6 into swiftlang:main Jan 14, 2025
3 checks passed
@etcwilde etcwilde deleted the ewilde/value-generic-types branch January 14, 2025 18:23
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