[stdlib][swift-3-indexing-model] fixing Index tests

This commit is contained in:
Max Moiseev
2016-03-23 16:05:35 -07:00
parent 8d9e62b274
commit d721a03d90
4 changed files with 107 additions and 135 deletions

View File

@@ -48,6 +48,7 @@ extension RandomAccessCollection where SubSequence == RandomAccessSlice<Self> {
extension RandomAccessCollection {
// TODO: swift-3-indexing-model - implement optimized version of the following
// (also un-xfail corresponding test in validation-test/stdlib/Index.swift.gyb)
// advance(i: Index, by n: IndexDistance) -> Index
// advance(i: Index, by n: IndexDistance, limit: Index) -> Index
// distance(from start: Index, to end: Index) -> IndexDistance