Skip to content

🌸 [NFC] Test that @abi handles SendableMetatype #82509

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
Jun 26, 2025

Conversation

beccadax
Copy link
Contributor

  • Explanation: Adds tests covering the interaction between SE-0470 (SendableMetatype) and SE-0476 (@abi). The compiler already behaved correctly—we just want to make sure it stays that way.
  • Scope: Declarations using both @abi and SendableMetatype constraints. No functional changes.
  • Issues: rdar://152602566
  • Original PRs: [NFC] Test that @abi handles SendableMetatype #82468
  • Risk: None, as this PR only adds tests.
  • Testing: Expands existing lit test case.
  • Reviewers: @DougGregor, @slavapestov

The @abi checker ignores uses of marker protocols, as they don’t have any impact on call compatibility. Add tests to ensure that this rule encompasses SE-0470’s SendableMetatype.

Fixes rdar://152602566.

The `@abi` checker ignores uses of marker protocols, as they don’t have any impact on call compatibility. Add tests to ensure that this rule encompasses SE-0470’s `SendableMetatype`.

Fixes rdar://152602566.
@beccadax beccadax requested a review from a team as a code owner June 25, 2025 23:12
@beccadax beccadax added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Jun 25, 2025
@beccadax
Copy link
Contributor Author

@swift-ci please test

@beccadax beccadax enabled auto-merge June 25, 2025 23:25
@nkcsgexi
Copy link
Contributor

@swift-ci please test Windows

@beccadax beccadax merged commit 9c2efc0 into swiftlang:release/6.2 Jun 26, 2025
5 checks passed
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.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants