You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The swift-api-digester doesn't know about generic typealiases (yet?).
So it picks up some changes that are not actually source-breaking from
the previous patch.
Copy file name to clipboardExpand all lines: test/api-digester/source-stability.swift.expected
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,13 @@
1
+
/* DictionaryIndex => Dictionary.Index,
2
+
* SetIndex => Set.Index
3
+
*
4
+
* Note: The old names are still available via generic typealiases,
5
+
* however swift-api-digester doesn't pick that up yet. */
6
+
TypeAlias Dictionary.Index has been removed
7
+
TypeAlias Set.Index has been removed
8
+
Struct DictionaryIndex has been removed
9
+
Struct SetIndex has been removed
10
+
1
11
/* Removed declarations */
2
12
Protocol BidirectionalIndexable has been removed (deprecated)
3
13
Protocol ExpressibleByStringInterpolation has been removed (deprecated)
@@ -7,5 +17,18 @@ Protocol MutableIndexable has been removed (deprecated)
7
17
Protocol RandomAccessIndexable has been removed (deprecated)
8
18
Protocol RangeReplaceableIndexable has been removed (deprecated)
9
19
20
+
/* More DictionaryIndex / SetIndex */
21
+
Var Dictionary.endIndex has declared type change from DictionaryIndex<Key, Value> to Dictionary<Key, Value>.Index
22
+
Var Dictionary.startIndex has declared type change from DictionaryIndex<Key, Value> to Dictionary<Key, Value>.Index
23
+
Var Set.endIndex has declared type change from SetIndex<Element> to Set<Element>.Index
24
+
Var Set.startIndex has declared type change from SetIndex<Element> to Set<Element>.Index
25
+
Func Dictionary.index(after:) has return type change from DictionaryIndex<Key, Value> to Dictionary<Key, Value>.Index
26
+
Func Dictionary.index(forKey:) has return type change from DictionaryIndex<Key, Value>? to Dictionary<Key, Value>.Index?
27
+
Func Dictionary.remove(at:) has 1st parameter type change from DictionaryIndex<Key, Value> to Dictionary<Key, Value>.Index
28
+
Func Set.index(after:) has return type change from SetIndex<Element> to Set<Element>.Index
29
+
Func Set.index(of:) has return type change from SetIndex<Element>? to Set<Element>.Index?
30
+
Func Set.remove(at:) has 1st parameter type change from SetIndex<Element> to Set<Element>.Index
31
+
10
32
/* Function type change */
11
33
Func UnsafePointer.withMemoryRebound(to:capacity:_:) has 3rd parameter type change from (UnsafeMutablePointer<T>) throws -> Result to (UnsafePointer<T>) throws -> Result
0 commit comments