Skip to content

Commit

Permalink
Incorporate changes for Swift 5 version mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkremenek committed Nov 15, 2018
1 parent cf2dce9 commit 4562cc6
Showing 1 changed file with 84 additions and 0 deletions.
84 changes: 84 additions & 0 deletions test/api-digester/Outputs/stability-stdlib-source.swift.expected
Expand Up @@ -28,6 +28,8 @@ Var BidirectionalCollection.last has been removed
Var Collection.first has been removed
Var Dictionary.first has been removed
Var Set.first has been removed
Var String.characters has been removed (deprecated)
Var Substring.characters has been removed (deprecated)

/* Moved Decls */

Expand All @@ -51,13 +53,21 @@ Protocol UnsignedInteger has added inherited protocol AdditiveArithmetic

/* SE-0234 */
AssociatedType Sequence.SubSequence has been removed
Constructor ClosedRange.init(_:) has been removed (deprecated)
Constructor Range.init(_:) has been removed (deprecated)
Func AnyBidirectionalCollection.split(maxSplits:omittingEmptySubsequences:whereSeparator:) has been removed
Func AnyCollection.split(maxSplits:omittingEmptySubsequences:whereSeparator:) has been removed
Func AnyRandomAccessCollection.split(maxSplits:omittingEmptySubsequences:whereSeparator:) has been removed
Func AnySequence.dropLast(_:) has return type change from AnySequence<Element> to [Element]
Func AnySequence.prefix(while:) has return type change from AnySequence<Element> to [Element]
Func AnySequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:) has been removed
Func AnySequence.suffix(_:) has return type change from AnySequence<Element> to [Element]
Func Collection.distance(from:to:) has been removed (deprecated)
Func Collection.flatMap(_:) has been removed (deprecated)
Func Collection.formIndex(_:offsetBy:) has been removed (deprecated)
Func Collection.formIndex(_:offsetBy:limitedBy:) has been removed (deprecated)
Func Collection.index(_:offsetBy:) has been removed (deprecated)
Func Collection.index(_:offsetBy:limitedBy:) has been removed (deprecated)
Func Collection.joined() has been removed
Func DropFirstSequence.dropFirst(_:) has return type change from AnySequence<DropFirstSequence<Base>.Element> to DropFirstSequence<Base>
Func PrefixSequence.prefix(_:) has return type change from AnySequence<Base.Element> to PrefixSequence<Base>
Expand All @@ -71,6 +81,19 @@ Func Sequence.prefix(while:) has return type change from Self.SubSequence to [Se
Func Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:) has return type change from [Self.SubSequence] to [ArraySlice<Self.Element>]
Func Sequence.split(separator:maxSplits:omittingEmptySubsequences:) has return type change from [Self.SubSequence] to [ArraySlice<Self.Element>]
Func Sequence.suffix(_:) has return type change from Self.SubSequence to [Self.Element]
Func String.withMutableCharacters(_:) has been removed (deprecated)
Func Substring.withMutableCharacters(_:) has been removed (deprecated)
Func UnsafeMutablePointer.deallocate(capacity:) has been removed (deprecated)
Func UnsafeMutablePointer.deinitialize() has been removed (deprecated)
Func UnsafeMutablePointer.initialize(from:) has been removed (deprecated)
Func UnsafeMutablePointer.initialize(to:count:) has been removed (deprecated)
Func UnsafeMutableRawBufferPointer.allocate(count:) has been removed (deprecated)
Func UnsafeMutableRawBufferPointer.copyBytes(from:) has been removed (deprecated)
Func UnsafeMutableRawPointer.allocate(bytes:alignedTo:) has been removed (deprecated)
Func UnsafeMutableRawPointer.copyBytes(from:count:) has been removed (deprecated)
Func UnsafeMutableRawPointer.deallocate(bytes:alignedTo:) has been removed (deprecated)
Func UnsafeMutableRawPointer.initializeMemory(as:at:count:to:) has been removed (deprecated)
Func UnsafeMutableRawPointer.initializeMemory(as:from:) has been removed (deprecated)
Protocol Collection has generic signature change from <Self : Sequence, Self.Index : Comparable, Self.Index == Self.Indices.Element, Self.Indices : Collection, Self.Indices == Self.Indices.SubSequence, Self.SubSequence : Collection, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index, Self.SubSequence.Index == Self.Indices.Indices.Element, Self.Indices.Indices.Element == Self.Indices.Indices.Index, Self.Indices.Indices.Index == Self.SubSequence.Indices.Element, Self.SubSequence.Indices.Element == Self.SubSequence.Indices.Index, Self.SubSequence.Indices.Index == Self.SubSequence.Indices.Indices.Element, Self.SubSequence.Indices.Indices.Element == Self.SubSequence.Indices.Indices.Index> to <Self : Sequence, Self.Element == Self.SubSequence.Element, Self.Index : Comparable, Self.Index == Self.Indices.Element, Self.Indices : Collection, Self.Indices == Self.Indices.SubSequence, Self.SubSequence : Collection, Self.SubSequence == Self.SubSequence.SubSequence, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index, Self.SubSequence.Index == Self.Indices.Indices.Element, Self.Indices.Indices.Element == Self.Indices.Indices.Index, Self.Indices.Indices.Index == Self.SubSequence.Indices.Element, Self.SubSequence.Indices.Element == Self.SubSequence.Indices.Index, Self.SubSequence.Indices.Index == Self.SubSequence.Indices.Indices.Element, Self.SubSequence.Indices.Indices.Element == Self.SubSequence.Indices.Indices.Index>
Protocol Sequence has generic signature change from <Self.Element == Self.Iterator.Element, Self.Iterator : IteratorProtocol, Self.SubSequence : Sequence, Self.SubSequence == Self.SubSequence.SubSequence, Self.Iterator.Element == Self.SubSequence.Element, Self.SubSequence.Element == Self.SubSequence.Iterator.Element> to <Self.Element == Self.Iterator.Element, Self.Iterator : IteratorProtocol>
Protocol _SequenceWrapper has been removed
Expand All @@ -81,33 +104,94 @@ Struct ReversedCollection has removed conformance to LazyCollectionProtocol
Struct Slice has removed conformance to LazyCollectionProtocol
TypeAlias AnyIterator.SubSequence has been removed
TypeAlias AnySequence.SubSequence has been removed
TypeAlias ArrayLiteralConvertible has been removed (deprecated)
TypeAlias BidirectionalIndexable has been removed (deprecated)
TypeAlias BidirectionalSlice has been removed (deprecated)
TypeAlias BooleanLiteralConvertible has been removed (deprecated)
TypeAlias ClosedRangeIndex has been removed (deprecated)
TypeAlias CustomPlaygroundQuickLookable has been removed (deprecated)
TypeAlias DefaultBidirectionalIndices has been removed (deprecated)
TypeAlias DefaultRandomAccessIndices has been removed (deprecated)
TypeAlias DictionaryLiteralConvertible has been removed (deprecated)
TypeAlias EmptyCollection.Iterator.SubSequence has been removed
TypeAlias EmptyIterator has been removed (deprecated)
TypeAlias EnumeratedSequence.Iterator.SubSequence has been removed
TypeAlias EnumeratedSequence.SubSequence has been removed
TypeAlias ExtendedGraphemeClusterLiteralConvertible has been removed (deprecated)
TypeAlias FlattenBidirectionalCollection has been removed (deprecated)
TypeAlias FlattenBidirectionalCollectionIndex has been removed (deprecated)
TypeAlias FlattenCollectionIndex has been removed (deprecated)
TypeAlias FlattenSequence.Iterator.SubSequence has been removed
TypeAlias FlattenSequence.SubSequence has generic signature change from <Base where Base : Sequence, Base.Element : Sequence> to <Base where Base : BidirectionalCollection, Base.Element : BidirectionalCollection>
TypeAlias FlattenSequence.SubSequence has underlying type change from AnySequence<Base.Element.Element> to Slice<FlattenSequence<Base>>
TypeAlias FloatLiteralConvertible has been removed (deprecated)
TypeAlias Indexable has been removed (deprecated)
TypeAlias IndexableBase has been removed (deprecated)
TypeAlias IntegerLiteralConvertible has been removed (deprecated)
TypeAlias IteratorOverOne has been removed (deprecated)
TypeAlias IteratorSequence.SubSequence has been removed
TypeAlias JoinedIterator has been removed (deprecated)
TypeAlias JoinedSequence.SubSequence has been removed
TypeAlias LazyBidirectionalCollection has been removed (deprecated)
TypeAlias LazyDropWhileBidirectionalCollection has been removed (deprecated)
TypeAlias LazyDropWhileIndex has been removed (deprecated)
TypeAlias LazyDropWhileIterator has been removed (deprecated)
TypeAlias LazyDropWhileSequence.SubSequence has generic signature change from <Base where Base : Sequence> to <Base where Base : Collection>
TypeAlias LazyDropWhileSequence.SubSequence has underlying type change from AnySequence<LazyDropWhileSequence<Base>.Element> to Slice<LazyDropWhileCollection<Base>>
TypeAlias LazyFilterBidirectionalCollection has been removed (deprecated)
TypeAlias LazyFilterIndex has been removed (deprecated)
TypeAlias LazyFilterIterator has been removed (deprecated)
TypeAlias LazyFilterSequence.Iterator.SubSequence has been removed
TypeAlias LazyFilterSequence.SubSequence has generic signature change from <Base where Base : Sequence> to <Base where Base : Collection>
TypeAlias LazyFilterSequence.SubSequence has underlying type change from AnySequence<Base.Element> to LazyFilterCollection<Base.SubSequence>
TypeAlias LazyMapBidirectionalCollection has been removed (deprecated)
TypeAlias LazyMapIterator has been removed (deprecated)
TypeAlias LazyMapRandomAccessCollection has been removed (deprecated)
TypeAlias LazyMapSequence.Iterator.SubSequence has been removed
TypeAlias LazyMapSequence.SubSequence has generic signature change from <Base, Element where Base : Sequence> to <Base, Element where Base : Collection>
TypeAlias LazyMapSequence.SubSequence has underlying type change from AnySequence<Element> to LazyMapCollection<Base.SubSequence, Element>
TypeAlias LazyPrefixWhileBidirectionalCollection has been removed (deprecated)
TypeAlias LazyPrefixWhileIndex has been removed (deprecated)
TypeAlias LazyPrefixWhileIterator has been removed (deprecated)
TypeAlias LazyPrefixWhileSequence.Iterator.SubSequence has been removed
TypeAlias LazyPrefixWhileSequence.SubSequence has generic signature change from <Base where Base : Sequence> to <Base where Base : Collection>
TypeAlias LazyPrefixWhileSequence.SubSequence has underlying type change from AnySequence<LazyPrefixWhileSequence<Base>.Element> to Slice<LazyPrefixWhileCollection<Base>>
TypeAlias LazyRandomAccessCollection has been removed (deprecated)
TypeAlias LazySequence.Base has been removed
TypeAlias LazySequence.SubSequence has generic signature change from <Base where Base : Sequence> to <Base where Base : Collection>
TypeAlias LazySequence.SubSequence has underlying type change from Base.SubSequence to Slice<LazySequence<Base>>
TypeAlias MutableBidirectionalSlice has been removed (deprecated)
TypeAlias MutableIndexable has been removed (deprecated)
TypeAlias MutableRandomAccessSlice has been removed (deprecated)
TypeAlias MutableRangeReplaceableBidirectionalSlice has been removed (deprecated)
TypeAlias MutableRangeReplaceableRandomAccessSlice has been removed (deprecated)
TypeAlias MutableRangeReplaceableSlice has been removed (deprecated)
TypeAlias MutableSlice has been removed (deprecated)
TypeAlias NilLiteralConvertible has been removed (deprecated)
TypeAlias PartialRangeFrom.SubSequence has been removed
TypeAlias RandomAccessIndexable has been removed (deprecated)
TypeAlias RandomAccessSlice has been removed (deprecated)
TypeAlias RangeReplaceableBidirectionalSlice has been removed (deprecated)
TypeAlias RangeReplaceableIndexable has been removed (deprecated)
TypeAlias RangeReplaceableRandomAccessSlice has been removed (deprecated)
TypeAlias RangeReplaceableSlice has been removed (deprecated)
TypeAlias ReversedCollection.Iterator.SubSequence has been removed
TypeAlias ReversedIndex has been removed (deprecated)
TypeAlias ReversedRandomAccessCollection has been removed (deprecated)
TypeAlias StrideThrough.SubSequence has been removed
TypeAlias StrideTo.SubSequence has been removed
TypeAlias String.CharacterView has been removed (deprecated)
TypeAlias StringInterpolationConvertible has been removed (deprecated)
TypeAlias StringLiteralConvertible has been removed (deprecated)
TypeAlias Substring.CharacterView has been removed (deprecated)
TypeAlias UnfoldSequence.SubSequence has been removed
TypeAlias UnicodeScalarLiteralConvertible has been removed (deprecated)
TypeAlias UnsafeBufferPointerIterator has been removed (deprecated)
TypeAlias UnsafeMutableRawBufferPointerIterator has been removed (deprecated)
TypeAlias UnsafeRawBufferPointer.Iterator.SubSequence has been removed
TypeAlias UnsafeRawBufferPointerIterator has been removed (deprecated)
TypeAlias Zip2Iterator has been removed (deprecated)
TypeAlias Zip2Sequence.Stream1 has been removed (deprecated)
TypeAlias Zip2Sequence.Stream2 has been removed (deprecated)
TypeAlias Zip2Sequence.SubSequence has been removed
Var Collection.lazy has been removed

0 comments on commit 4562cc6

Please sign in to comment.