Skip to content

Commit 85c9e56

Browse files
committed
[stdlib] Provide migration hint for AnyTraversalIndex types
1 parent 1a0891c commit 85c9e56

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/public/core/ExistentialCollection.swift.gyb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,3 +1036,8 @@ extension AnyCollectionProtocol {
10361036
Builtin.unreachable()
10371037
}
10381038
}
1039+
1040+
% for Traversal in TRAVERSALS:
1041+
@available(*, unavailable, renamed: "AnyIndex")
1042+
public typealias Any${Traversal}Index = AnyIndex
1043+
% end

0 commit comments

Comments
 (0)