mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
43 lines
2.5 KiB
Plaintext
43 lines
2.5 KiB
Plaintext
/* DictionaryIndex => Dictionary.Index,
|
|
* SetIndex => Set.Index
|
|
*
|
|
* Note: The old names are still available via generic typealiases,
|
|
* however swift-api-digester doesn't pick that up yet. */
|
|
TypeAlias Dictionary.Index has been removed
|
|
TypeAlias Set.Index has been removed
|
|
Struct DictionaryIndex has been removed
|
|
Struct SetIndex has been removed
|
|
|
|
/* Removed declarations */
|
|
Protocol BidirectionalIndexable has been removed (deprecated)
|
|
Protocol ExpressibleByStringInterpolation has been removed (deprecated)
|
|
Protocol Indexable has been removed (deprecated)
|
|
Protocol IndexableBase has been removed (deprecated)
|
|
Protocol MutableIndexable has been removed (deprecated)
|
|
Protocol RandomAccessIndexable has been removed (deprecated)
|
|
Protocol RangeReplaceableIndexable has been removed (deprecated)
|
|
|
|
/* More DictionaryIndex / SetIndex */
|
|
Var Dictionary.endIndex has declared type change from DictionaryIndex<Key, Value> to Dictionary<Key, Value>.Index
|
|
Var Dictionary.startIndex has declared type change from DictionaryIndex<Key, Value> to Dictionary<Key, Value>.Index
|
|
Var Set.endIndex has declared type change from SetIndex<Element> to Set<Element>.Index
|
|
Var Set.startIndex has declared type change from SetIndex<Element> to Set<Element>.Index
|
|
Func Dictionary.index(after:) has return type change from DictionaryIndex<Key, Value> to Dictionary<Key, Value>.Index
|
|
Func Dictionary.index(forKey:) has return type change from DictionaryIndex<Key, Value>? to Dictionary<Key, Value>.Index?
|
|
Func Dictionary.remove(at:) has 1st parameter type change from DictionaryIndex<Key, Value> to Dictionary<Key, Value>.Index
|
|
|
|
/* False positives due to archetype -> interface type change */
|
|
Func OptionSet.insert(_:) has return type change from (inserted: Bool, memberAfterInsert: Self) to (inserted: Bool, memberAfterInsert: Self.Element)
|
|
Func OptionSet.remove(_:) has return type change from Self? to Self.Element?
|
|
Func OptionSet.update(with:) has return type change from Self? to Self.Element?
|
|
Func RandomAccessCollection.distance(from:to:) has return type change from Self.IndexDistance to Self.Index.Stride
|
|
|
|
/* More DictionaryIndex / SetIndex */
|
|
Func Set.index(after:) has return type change from SetIndex<Element> to Set<Element>.Index
|
|
Func Set.index(of:) has return type change from SetIndex<Element>? to Set<Element>.Index?
|
|
Func Set.remove(at:) has 1st parameter type change from SetIndex<Element> to Set<Element>.Index
|
|
|
|
/* Function type change */
|
|
Func UnsafePointer.withMemoryRebound(to:capacity:_:) has 3rd parameter type change from (UnsafeMutablePointer<T>) throws -> Result to (UnsafePointer<T>) throws -> Result
|
|
|