Skip to content

Commit 0191db3

Browse files
committed
intermedia change.
1 parent 1ea3ebc commit 0191db3

File tree

2 files changed

+82
-5
lines changed

2 files changed

+82
-5
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
// REQUIRES: OS=macosx
22
// RUN: %empty-directory(%t.tmp)
33
// mkdir %t.tmp/module-cache && mkdir %t.tmp/dummy.sdk
4-
// RUN: %api-digester -dump-sdk -module Swift -o %t.tmp/current-stdlib.json -module-cache-path %t.tmp/module-cache -sdk %t.tmp/dummy.sdk -swift-version 3
4+
// RUN: %api-digester -dump-sdk -module Swift -o %t.tmp/current-stdlib.json -module-cache-path %t.tmp/module-cache -sdk %t.tmp/dummy.sdk
55
// RUN: %api-digester -diagnose-sdk -input-paths %S/stdlib-stable.json -input-paths %t.tmp/current-stdlib.json >> %t.tmp/changes.txt
66
// RUN: %clang -E -P -x c %S/source-stability.swift.expected -o - | sed '/^\s*$/d' > %t.tmp/source-stability.swift.expected
77
// RUN: %clang -E -P -x c %t.tmp/changes.txt -o - | sed '/^\s*$/d' > %t.tmp/changes.txt.tmp
88
// RUN: diff -u %t.tmp/source-stability.swift.expected %t.tmp/changes.txt.tmp
99

10-
// REQUIRES: rdar_43425867
Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,93 @@
1-
/* FIXME: Bogus */
1+
2+
/* Generic Signature Changes */
3+
Struct DictionaryIterator has generic signature change from <Key, Value where Key : Hashable> to <Element>
4+
Struct SetIterator has generic signature change from <Element where Element : Hashable> to <Key, Value>
5+
6+
/* RawRepresentable Changes */
7+
8+
/* Removed Decls */
9+
TypeAlias AbsoluteValuable has been removed
10+
TypeAlias BitwiseOperations has been removed (deprecated)
211
TypeAlias DictionaryIterator.Element has been removed
12+
TypeAlias IntMax has been removed
13+
TypeAlias Integer has been removed
14+
TypeAlias IntegerArithmetic has been removed
315
TypeAlias SetIterator.Element has been removed
16+
TypeAlias SignedNumber has been removed
17+
TypeAlias StringProtocol.UTF16Index has been removed (deprecated)
18+
TypeAlias StringProtocol.UTF8Index has been removed (deprecated)
19+
TypeAlias StringProtocol.UnicodeScalarIndex has been removed (deprecated)
20+
TypeAlias UIntMax has been removed
421
Var DictionaryIterator.customMirror has been removed
22+
Var FixedWidthInteger.allZeros has been removed (deprecated)
523
Var SetIterator.customMirror has been removed
24+
Constructor Int.init(truncatingBitPattern:) has been removed
25+
Constructor Int16.init(truncatingBitPattern:) has been removed
26+
Constructor Int32.init(truncatingBitPattern:) has been removed
27+
Constructor Int8.init(truncatingBitPattern:) has been removed
28+
Constructor String.init(_:obsoletedInSwift4:) has been removed
29+
Constructor UInt.init(truncatingBitPattern:) has been removed
30+
Constructor UInt16.init(truncatingBitPattern:) has been removed
31+
Constructor UInt32.init(truncatingBitPattern:) has been removed
32+
Constructor UInt8.init(truncatingBitPattern:) has been removed
33+
Func BinaryInteger.toIntMax() has been removed
634
Func DictionaryIterator.next() has been removed
35+
Func FixedWidthInteger.addWithOverflow(_:_:) has been removed
36+
Func FixedWidthInteger.divideWithOverflow(_:_:) has been removed
37+
Func FixedWidthInteger.multiplyWithOverflow(_:_:) has been removed
38+
Func FixedWidthInteger.remainderWithOverflow(_:_:) has been removed
39+
Func FixedWidthInteger.subtractWithOverflow(_:_:) has been removed
40+
Func FloatingPoint.abs(_:) has been removed (deprecated)
41+
Func FloatingPoint.add(_:) has been removed
42+
Func FloatingPoint.adding(_:) has been removed
43+
Func FloatingPoint.divide(by:) has been removed
44+
Func FloatingPoint.divided(by:) has been removed
45+
Func FloatingPoint.multiplied(by:) has been removed
46+
Func FloatingPoint.multiply(by:) has been removed
47+
Func FloatingPoint.negated() has been removed
48+
Func FloatingPoint.subtract(_:) has been removed
49+
Func FloatingPoint.subtracting(_:) has been removed
50+
Func Int.toUIntMax() has been removed
51+
Func Int16.toUIntMax() has been removed
52+
Func Int32.toUIntMax() has been removed
53+
Func Int64.toUIntMax() has been removed
54+
Func Int8.toUIntMax() has been removed
55+
Func Sequence.flatMap(_:) has been removed
756
Func SetIterator.next() has been removed
57+
Func SignedNumeric.abs(_:) has been removed
58+
Func String.UTF16View.distance(from:to:) has been removed
59+
Func String.UTF16View.index(_:offsetBy:) has been removed
60+
Func String.UTF16View.index(after:) has been removed
61+
Func String.UTF8View.distance(from:to:) has been removed
62+
Func String.UTF8View.index(_:offsetBy:) has been removed
63+
Func String.UTF8View.index(after:) has been removed
64+
Func String.UnicodeScalarView.distance(from:to:) has been removed
65+
Func String.UnicodeScalarView.index(_:offsetBy:) has been removed
66+
Func String.UnicodeScalarView.index(after:) has been removed
67+
Func String.UnicodeScalarView.popFirst() has been removed (deprecated)
68+
Func String.popFirst() has been removed (deprecated)
69+
Func UInt.toIntMax() has been removed
70+
Func UInt16.toIntMax() has been removed
71+
Func UInt32.toIntMax() has been removed
72+
Func UInt64.toIntMax() has been removed
73+
Func UInt8.toIntMax() has been removed
74+
Func UnsignedInteger.toUIntMax() has been removed
875

9-
/* Renamed Decls (FIXME: Targets are Dictionary.Iterator & Set.Iterator) */
76+
/* Moved Decls */
77+
78+
/* Renamed Decls */
1079
Struct DictionaryIterator has been renamed to Struct Iterator
1180
Struct SetIterator has been renamed to Struct Iterator
81+
Func Dictionary.filter(_:obsoletedInSwift4:) has been renamed to Func Dictionary.filter(_:)
82+
Func Set.filter(_:obsoletedInSwift4:) has been renamed to Func Set.filter(_:)
1283

13-
/* FIXME: Bogus */
84+
/* Type Changes */
85+
Var Dictionary.keys has declared type change from LazyMapCollection<[Key : Value], Key> to Dictionary<Key, Value>.Keys
86+
Var Dictionary.values has declared type change from LazyMapCollection<[Key : Value], Value> to Dictionary<Key, Value>.Values
87+
Constructor String.init(_:) has return type change from String? to String
88+
Func Dictionary.filter(_:obsoletedInSwift4:) has return type change from [Dictionary<Key, Value>.Element] to [Dictionary<Key, Value>.Key : Dictionary<Key, Value>.Value]
1489
Func Dictionary.makeIterator() has return type change from DictionaryIterator<Dictionary<Key, Value>.Key, Dictionary<Key, Value>.Value> to Dictionary<Key, Value>.Iterator
90+
Func Set.filter(_:obsoletedInSwift4:) has return type change from [Set<Element>.Element] to Set<Element>
1591
Func Set.makeIterator() has return type change from SetIterator<Element> to Set<Element>.Iterator
92+
93+
/* Decl Attribute changes */

0 commit comments

Comments
 (0)