Skip to content

Commit 9d2c9be

Browse files
committed
Remove already-completed or separate-discussed ABI FIXMEs.
1 parent af48bdc commit 9d2c9be

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

stdlib/public/core/BidirectionalCollection.swift

-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ public protocol _BidirectionalIndexable : _Indexable {
6666
/// - If `i > c.startIndex && i <= c.endIndex`
6767
/// `c.index(after: c.index(before: i)) == i`.
6868
public protocol BidirectionalCollection : _BidirectionalIndexable, Collection
69-
// FIXME(ABI) (Revert Where Clauses): Restore these
70-
// where SubSequence: BidirectionalCollection, Indices: BidirectionalCollection
7169
{
7270

7371
// TODO: swift-3-indexing-model - replaces functionality in BidirectionalIndex

stdlib/public/core/Collection.swift

-11
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,6 @@ public struct IndexingIterator<
619619
/// the number of contained elements, accessing its `count` property is an
620620
/// O(*n*) operation.
621621
public protocol Collection : _Indexable, Sequence
622-
// FIXME(ABI) (Revert Where Clauses): Restore this
623-
// where Indices: Collection,
624622
{
625623
/// A type that represents the number of steps between a pair of
626624
/// indices.
@@ -649,15 +647,6 @@ public protocol Collection : _Indexable, Sequence
649647
associatedtype SubSequence : Collection = Slice<Self>
650648
where SubSequence.Index == Index
651649

652-
// FIXME(ABI)#99 (Associated Types with where clauses):
653-
// where SubSequence.Indices == Indices,
654-
//
655-
// (<rdar://problem/20715009> Implement recursive protocol
656-
// constraints)
657-
//
658-
// These constraints allow processing collections in generic code by
659-
// repeatedly slicing them in a loop.
660-
661650
/// Accesses the element at the specified position.
662651
///
663652
/// The following example accesses an element of an array through its

0 commit comments

Comments
 (0)