Skip to content

[NFC] Test that @abi handles SendableMetatype #82468

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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions test/attr/attr_abi.swift
Original file line number Diff line number Diff line change
Expand Up @@ -992,18 +992,18 @@ func fnExtInfoTest(
// FIXME: Not sure how to reach tryNormalizeOutermostType() generic func
@abi(
func testMarkerProtocols<A, B: Sendable>(
_: A, _: B,
_: Any, _: Sendable,
_: AnyKeyPath, _: AnyKeyPath & Sendable,
_: Any, _: Sendable & BitwiseCopyable
func testMarkerProtocols<A, B: Sendable, C, D: SendableMetatype>(
_: A, _: B, _: C, _: D,
_: Any, _: Sendable, _: Any, _: SendableMetatype,
_: AnyKeyPath, _: AnyKeyPath & Sendable, _: AnyKeyPath, _: AnyKeyPath & SendableMetatype,
_: Any, _: Sendable & BitwiseCopyable, _: Any, _: SendableMetatype & BitwiseCopyable
)
)
func testMarkerProtocols<A: Sendable, B>(
_: A, _: B,
_: Sendable, _: Any,
_: AnyKeyPath & Sendable, _: AnyKeyPath,
_: Sendable & BitwiseCopyable, _: Any
func testMarkerProtocols<A: Sendable, B, C: SendableMetatype, D>(
_: A, _: B, _: C, _: D,
_: Sendable, _: Any, _: SendableMetatype, _: Any,
_: AnyKeyPath & Sendable, _: AnyKeyPath, _: AnyKeyPath & SendableMetatype, _: AnyKeyPath,
_: Sendable & BitwiseCopyable, _: Any, _: SendableMetatype & BitwiseCopyable, _: Any
) {}
@abi(
Expand Down