File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,9 @@ public struct LazyDropWhileIndex<Base : Collection> : Comparable {
140
140
}
141
141
}
142
142
143
+ @available ( swift, introduced: 4.1 ) // FIXME(conformance-availability)
143
144
extension LazyDropWhileIndex : Hashable where Base. Index : Hashable {
145
+ @available ( swift, introduced: 4.1 )
144
146
public var hashValue : Int {
145
147
return base. hashValue
146
148
}
Original file line number Diff line number Diff line change @@ -230,8 +230,10 @@ extension FlattenCollection.Index : Comparable {
230
230
}
231
231
}
232
232
233
+ @available ( swift, introduced: 4.1 ) // FIXME(conformance-availability)
233
234
extension FlattenCollection . Index : Hashable
234
235
where Base. Index : Hashable , Base. Element. Index : Hashable {
236
+ @available ( swift, introduced: 4.1 )
235
237
public var hashValue : Int {
236
238
return _mixInt ( _inner? . hashValue ?? 0 ) ^ _outer. hashValue
237
239
}
Original file line number Diff line number Diff line change @@ -162,7 +162,9 @@ public struct LazyPrefixWhileIndex<Base : Collection> : Comparable {
162
162
}
163
163
}
164
164
165
+ @available ( swift, introduced: 4.1 ) // FIXME(conformance-availability)
165
166
extension LazyPrefixWhileIndex : Hashable where Base. Index : Hashable {
167
+ @available ( swift, introduced: 4.1 )
166
168
public var hashValue : Int {
167
169
switch _value {
168
170
case . index( let value) :
Original file line number Diff line number Diff line change @@ -193,7 +193,9 @@ extension ReversedCollection.Index: Comparable {
193
193
}
194
194
}
195
195
196
+ @available ( swift, introduced: 4.1 ) // FIXME(conformance-availability)
196
197
extension ReversedCollection . Index : Hashable where Base. Index: Hashable {
198
+ @available ( swift, introduced: 4.1 )
197
199
public var hashValue : Int {
198
200
return base. hashValue
199
201
}
You can’t perform that action at this time.
0 commit comments