rintaro ishizaki
6401324993
[stdlib] Apply tail style "where" clause to stdlib/{internal,private}
2016-06-02 12:01:21 +09:00
Dmitri Gribenko
b7984be446
stdlib: always check that IteratorProtocol.next() repeatedly returns nil
...
This is required by SE-0052.
2016-05-15 23:55:48 -07:00
practicalswift
c262b42ae0
[gardening] Fix recently introduced whitespace typos. ( #2443 )
2016-05-06 23:49:39 -07:00
Max Moiseev
d00dddbdab
[stdlib][swift-3-indexing-model] fixing the ReversedCollection/lazy test
2016-04-29 13:46:50 -07:00
Dave Abrahams
9bee5d182f
[stdlib] location/formLocation => index/formIndex
2016-04-26 17:46:16 -07:00
Max Moiseev
e1104af665
[stdlib][swift-3-indexing-model] rephrasing doc comments
2016-04-22 13:09:10 -07:00
Dave Abrahams
47a870cc50
[stdlib] Use location/formLocation for all index movement
2016-04-21 17:13:41 -07:00
Dmitri Gribenko
735f1287b0
Merge remote-tracking branch 'origin/swift-3-indexing-model' into swift-3-indexing-model
2016-04-14 14:10:27 -07:00
Dmitri Gribenko
10697f939f
Merge commit '510f29abf77e202780c11d5f6c7449313c819030' into swift-3-indexing-model
2016-04-14 13:45:27 -07:00
Max Moiseev
37bf02f7da
[stdlib][swift-3-indexing-model] changes in index(_:stepsFrom:limitedBy:)
...
- index(_:stepsFrom:limitedBy:) returns Index?
- formIndex(_:stepsFrom:limitedBy) returns Bool
2016-04-14 11:49:27 -07:00
Dmitri Gribenko
55fa27008f
StdlibCollectionUnittest: remove dead code
...
None of the minimal or defaulted collections raise expectation failures
when indexed out of bounds. This idea seemed to be good on the surface,
but turned out not that nice or useful in practice.
2016-04-06 22:31:41 -07:00
Max Moiseev
171169b01f
[stdlib][swift-3-indexing-model] fixing Arrays tests
2016-04-01 14:12:17 -07:00
Max Moiseev
97f06a09a7
[stdlib][swift-3-indexing-model] removing Strideable requirement for checkBidirectionalCollection
2016-04-01 14:11:54 -07:00
Max Moiseev
b30a550801
[stdlib][swift-3-indexing-model] Fixing checkCollection functions
2016-03-29 14:56:21 -07:00
Dave Abrahams
81d3e8ca83
limit: => limitedBy:, pt 2
...
M-x findr-query-replace
\<limit: \([^(),]*\|[^(),]+([^()]*)[^(),]*\))\( *\(?:[^ -]\|-[^>]\)\)
limitedBy: \1)\2
2016-03-28 13:12:02 -07:00
Dave Abrahams
8d9e62b274
[stdlib] indexing model: rename next/previous
...
I'm not too satisfied with the names for the updating: versions, but
this is a start.
2016-03-22 17:13:54 -07:00
Dmitri Gribenko
aaa486cc7b
New indexing model: fix most compilation issues in StdlibCollectionUnittest
...
We are still hitting what looks like a compiler bug:
error: type alias 'SubSequence' circularly references itself
which is emitted for every minimal collection type.
2016-03-18 23:20:57 -07:00