Skip to content

Commit bc7918b

Browse files
author
Max Moiseev
committed
Commenting out deprecated +/- on Strideable
1 parent 0478c06 commit bc7918b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

stdlib/public/core/Stride.swift.gyb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ public func == <T : Strideable>(x: T, y: T) -> Bool {
7979
}%
8080
% for Requirement, VersionInfo in [
8181
% ('Self : _Pointer', None),
82-
% ('Self : SignedInteger', 'deprecated: 3.1, obsoleted: 4.0'),
83-
% ('Stride : ExpressibleByIntegerLiteral', 'obsoleted: 4.0')]:
82+
% #('Self : SignedInteger', 'deprecated: 3.1, obsoleted: 4.0'),
83+
% #('Stride : ExpressibleByIntegerLiteral', 'obsoleted: 4.0'),
84+
% ]:
8485
% unavailable = 'Self : SignedInteger' == Requirement
8586
% Availability = (lambda what: '@available(swift, %s, message: "Mixed-type %s is deprecated. Please use explicit type conversion.")' % (VersionInfo, what)) if unavailable else (lambda _: '')
8687

0 commit comments

Comments
 (0)