Skip to content

Commit cd62da8

Browse files
committed
Confess my (current) source and ABI stability sins
1 parent 70d0ae9 commit cd62da8

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

test/api-digester/Outputs/stability-stdlib-abi.swift.expected

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11

22
/* Generic Signature Changes */
3+
Constructor _ExpressibleByStringInterpolation.init(stringInterpolation:) has generic signature change from <τ_0_0 where τ_0_0 : _ExpressibleByStringInterpolation> to <τ_0_0 where τ_0_0 : ExpressibleByStringInterpolation>
4+
Protocol StringProtocol has generic signature change from <τ_0_0 : BidirectionalCollection, τ_0_0 : Comparable, τ_0_0 : ExpressibleByStringLiteral, τ_0_0 : Hashable, τ_0_0 : LosslessStringConvertible, τ_0_0 : TextOutputStream, τ_0_0 : TextOutputStreamable, τ_0_0.Element == Character, τ_0_0.SubSequence : StringProtocol, τ_0_0.UTF16View : BidirectionalCollection, τ_0_0.UTF8View : Collection, τ_0_0.UnicodeScalarView : BidirectionalCollection, τ_0_0.UTF16View.Element == UInt16, τ_0_0.UTF8View.Element == UInt8, τ_0_0.UnicodeScalarView.Element == Unicode.Scalar> to <τ_0_0 : BidirectionalCollection, τ_0_0 : Comparable, τ_0_0 : ExpressibleByStringInterpolation, τ_0_0 : Hashable, τ_0_0 : LosslessStringConvertible, τ_0_0 : TextOutputStream, τ_0_0 : TextOutputStreamable, τ_0_0.Element == Character, τ_0_0.StringInterpolation == DefaultStringInterpolation, τ_0_0.SubSequence : StringProtocol, τ_0_0.UTF16View : BidirectionalCollection, τ_0_0.UTF8View : Collection, τ_0_0.UnicodeScalarView : BidirectionalCollection, τ_0_0.UTF16View.Element == UInt16, τ_0_0.UTF8View.Element == UInt8, τ_0_0.UnicodeScalarView.Element == Unicode.Scalar>
5+
Protocol _ExpressibleByStringInterpolation has generic signature change from to <τ_0_0 : ExpressibleByStringLiteral, τ_0_0.StringInterpolation : StringInterpolationProtocol, τ_0_0.StringLiteralType == τ_0_0.StringInterpolation.StringLiteralType>
36

47
/* RawRepresentable Changes */
58

69
/* Removed Decls */
710
Constructor AnyHashable.init(_box:) has been removed
811
Constructor AnyHashable.init(_usingDefaultRepresentationOf:) has been removed
912
Constructor ManagedBufferPointer.init(_:_:_:) has been removed
13+
Constructor String.init(stringInterpolationSegment:) has been removed
1014
Constructor Zip2Sequence.init(_sequence1:_sequence2:) has been removed
1115
Constructor _BridgeStorage.init(native:bits:) has been removed
1216
Constructor _BridgeableMetatype.init(value:) has been removed
17+
Constructor _ExpressibleByStringInterpolation.init(stringInterpolationSegment:) has been removed
1318
Func AnyHashable._downCastConditional(into:) has been removed
1419
Func _BridgeStorage.isNativeWithClearedSpareBits(_:) has been removed
1520
Func _BridgeStorage.isUniquelyReferenced_native_noSpareBits() has been removed
@@ -23,6 +28,8 @@ Func _getEnumCaseName(_:) has been removed
2328
Func _opaqueSummary(_:) has been removed
2429
Func _stdlib_NSDictionary_allKeys(_:) has been removed
2530
Func _stdlib_NSSet_allObjects(_:) has been removed
31+
Func _toStringReadOnlyPrintable(_:) has been removed
32+
Func _toStringReadOnlyStreamable(_:) has been removed
2633
Protocol _HeapBufferHeader_ has been removed
2734
Struct _ConcreteHashableBox has been removed
2835
Struct _HeapBufferHeader has been removed
@@ -44,8 +51,11 @@ Var __SwiftDeferredNSArray._heapBufferBridgedPtr has been removed
4451
/* Moved Decls */
4552

4653
/* Renamed Decls */
54+
Protocol _ExpressibleByStringInterpolation has been renamed to Protocol ExpressibleByStringInterpolation
4755

4856
/* Type Changes */
57+
Constructor String.init(stringInterpolation:) has parameter 0 type change from Array<String> to DefaultStringInterpolation
58+
Constructor _ExpressibleByStringInterpolation.init(stringInterpolation:) has parameter 0 type change from Array<τ_0_0> to τ_0_0.StringInterpolation
4959
Struct _BridgeableMetatype is now without @_fixed_layout
5060
Func __ContiguousArrayStorageBase._getNonVerbatimBridgingBuffer() is added to a non-resilient type
5161
Var _CocoaDictionary.Index._offset is added to a non-resilient type
@@ -56,3 +66,9 @@ Var _CocoaSet.Index._storage in a non-resilient type changes position from 1 to
5666
/* Decl Attribute changes */
5767

5868
/* Protocol Requirement Changes */
69+
Protocol ExpressibleByStringInterpolation has added inherited protocol ExpressibleByExtendedGraphemeClusterLiteral
70+
Protocol ExpressibleByStringInterpolation has added inherited protocol ExpressibleByStringLiteral
71+
Protocol ExpressibleByStringInterpolation has added inherited protocol ExpressibleByUnicodeScalarLiteral
72+
Protocol StringProtocol has added inherited protocol ExpressibleByStringInterpolation
73+
Struct String has removed conformance to _ExpressibleByStringInterpolation
74+
Func TextOutputStream._writeASCII(_:) has been added as a protocol requirement
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11

22
/* Generic Signature Changes */
3+
Protocol StringProtocol has generic signature change from <Self : BidirectionalCollection, Self : Comparable, Self : ExpressibleByStringLiteral, Self : Hashable, Self : LosslessStringConvertible, Self : TextOutputStream, Self : TextOutputStreamable, Self.Element == Character, Self.SubSequence : StringProtocol, Self.UTF16View : BidirectionalCollection, Self.UTF8View : Collection, Self.UnicodeScalarView : BidirectionalCollection, Self.UTF16View.Element == UInt16, Self.UTF8View.Element == UInt8, Self.UnicodeScalarView.Element == Unicode.Scalar> to <Self : BidirectionalCollection, Self : Comparable, Self : ExpressibleByStringInterpolation, Self : Hashable, Self : LosslessStringConvertible, Self : TextOutputStream, Self : TextOutputStreamable, Self.Element == Character, Self.StringInterpolation == DefaultStringInterpolation, Self.SubSequence : StringProtocol, Self.UTF16View : BidirectionalCollection, Self.UTF8View : Collection, Self.UnicodeScalarView : BidirectionalCollection, Self.UTF16View.Element == UInt16, Self.UTF8View.Element == UInt8, Self.UnicodeScalarView.Element == Unicode.Scalar>
34

45
/* RawRepresentable Changes */
56

67
/* Removed Decls */
8+
Constructor String.init(stringInterpolationSegment:) has been removed
9+
TypeAlias ExpressibleByStringInterpolation has been removed (deprecated)
710

811
/* Moved Decls */
912

1013
/* Renamed Decls */
1114

1215
/* Type Changes */
16+
Constructor String.init(stringInterpolation:) has parameter 0 type change from [String] to DefaultStringInterpolation
1317

1418
/* Decl Attribute changes */
1519

1620
/* Protocol Requirement Changes */
21+
Protocol StringProtocol has added inherited protocol ExpressibleByStringInterpolation

0 commit comments

Comments
 (0)