File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -401,3 +401,14 @@ public func ... <
401
401
return CountableClosedRange ( uncheckedBounds: ( lower: minimum, upper: maximum) )
402
402
}
403
403
404
+ extension ClosedRange {
405
+ @available ( * , unavailable, renamed: " lowerBound " )
406
+ public var startIndex : Bound {
407
+ Builtin . unreachable ( )
408
+ }
409
+
410
+ @available ( * , unavailable, renamed: " upperBound " )
411
+ public var endIndex : Bound {
412
+ Builtin . unreachable ( )
413
+ }
414
+ }
Original file line number Diff line number Diff line change @@ -589,3 +589,15 @@ public func ..< <
589
589
// swift-3-indexing-model: this is not really a proper rename
590
590
@available ( * , unavailable, renamed: " IndexingIterator " )
591
591
public struct RangeGenerator < Bound> { }
592
+
593
+ extension Range {
594
+ @available ( * , unavailable, renamed: " lowerBound " )
595
+ public var startIndex : Bound {
596
+ Builtin . unreachable ( )
597
+ }
598
+
599
+ @available ( * , unavailable, renamed: " upperBound " )
600
+ public var endIndex : Bound {
601
+ Builtin . unreachable ( )
602
+ }
603
+ }
You can’t perform that action at this time.
0 commit comments