Skip to content

Commit 9c2efc0

Browse files
authored
Merge pull request #82509 from beccadax/abi-sendable-metatype-6.2
2 parents e180d8b + 7b5ddb9 commit 9c2efc0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/attr/attr_abi.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -992,18 +992,18 @@ func fnExtInfoTest(
992992
// FIXME: Not sure how to reach tryNormalizeOutermostType() generic func
993993
994994
@abi(
995-
func testMarkerProtocols<A, B: Sendable>(
996-
_: A, _: B,
997-
_: Any, _: Sendable,
998-
_: AnyKeyPath, _: AnyKeyPath & Sendable,
999-
_: Any, _: Sendable & BitwiseCopyable
995+
func testMarkerProtocols<A, B: Sendable, C, D: SendableMetatype>(
996+
_: A, _: B, _: C, _: D,
997+
_: Any, _: Sendable, _: Any, _: SendableMetatype,
998+
_: AnyKeyPath, _: AnyKeyPath & Sendable, _: AnyKeyPath, _: AnyKeyPath & SendableMetatype,
999+
_: Any, _: Sendable & BitwiseCopyable, _: Any, _: SendableMetatype & BitwiseCopyable
10001000
)
10011001
)
1002-
func testMarkerProtocols<A: Sendable, B>(
1003-
_: A, _: B,
1004-
_: Sendable, _: Any,
1005-
_: AnyKeyPath & Sendable, _: AnyKeyPath,
1006-
_: Sendable & BitwiseCopyable, _: Any
1002+
func testMarkerProtocols<A: Sendable, B, C: SendableMetatype, D>(
1003+
_: A, _: B, _: C, _: D,
1004+
_: Sendable, _: Any, _: SendableMetatype, _: Any,
1005+
_: AnyKeyPath & Sendable, _: AnyKeyPath, _: AnyKeyPath & SendableMetatype, _: AnyKeyPath,
1006+
_: Sendable & BitwiseCopyable, _: Any, _: SendableMetatype & BitwiseCopyable, _: Any
10071007
) {}
10081008
10091009
@abi(

0 commit comments

Comments
 (0)