Commit Graph

11 Commits

Author SHA1 Message Date
Ben Cohen
ca6c6b1d36 [stdlib] Cleanup DefaultIndices, delete dead code (#13952)
* Remove a bunch of Default(Bidirectional|RandomAccess)Indices usage from stdlib and test

* Remove some DefaultRandomAccessIndices and IndexDistance usage from Foundation

* Remove no-longer-used internal type in Existentials.swift

* Get rid of indicesForTraversal
2018-01-15 13:48:08 -08:00
Ben Cohen
85d190cd7d [stdlib] Replace various uses of BlahSlice with Slice to reduce warnings (#13263)
* Kill the slice variants from the gybbed collection test types

* Handful more SDK instances

* Fix SequencesCollections.swift.gyb
2017-12-05 19:09:56 -08:00
practicalswift
6d1ae2a39c [gardening] 2016 → 2017 2017-01-06 16:41:22 +01:00
practicalswift
797b80765f [gardening] Use the correct base URL (https://swift.org) in references to the Swift website
Remove all references to the old non-TLS enabled base URL (http://swift.org)
2016-11-20 17:36:03 +01:00
Alex Chan
4df4bc5996 [utils] Better exceptions in gyb_stdlib_support.py
If we get an unknown traversal passed to one of these functions, raise a ValueError that includes the name of the unknown traversal -- should we hit this case, this will make it slightly easier to debug.
2016-06-27 17:25:51 +01:00
practicalswift
ac15a59d7d Fix various PEP-8 violations. 2016-05-21 10:43:36 +02:00
Nate Cook
298f5d9b23 [stdlib] Add missing abstracts to a few types 2016-05-19 13:18:02 -05:00
practicalswift
6cf5f9d255 [gardening] PEP-8 fixes. 2016-05-01 13:18:30 +02:00
Dmitri Gribenko
26961ab11e New indexing model: extract a helper function into gyb_stdlib_support.py 2016-03-29 16:46:24 -07:00
Dmitri Gribenko
ea51ace6b8 New indexing model: generate three DefaultIndices types
We need three index types, one for each traversal kind.
2016-03-18 23:03:18 -07:00
Dmitri Gribenko
9dd485eb89 New indexing model: WIP on updating StdlibCollectionUnittest 2016-03-18 23:03:01 -07:00