Skip to content

Commit b89a9ff

Browse files
committed
[docs] Update CHANGELOG.md for conditional conformance
1 parent 1f39896 commit b89a9ff

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

CHANGELOG.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ Swift 5.0
3939
Swift 4.1
4040
---------
4141

42+
* [SE-0143][]
43+
44+
The standard library types `Optional`, `Array`, `ArraySlice`,
45+
`ContiguousArray`, `Dictionary`, `DictionaryLiteral`, `Range`, `ClosedRange`,
46+
`AnyCollection`, and `CollectionOfOne` now conform to the `Hashable` protocol
47+
when their element or bound types (as the case may be) conform to `Hashable`.
48+
This makes synthesized `Hashable` implementations available for types that
49+
include stored properties of these types.
50+
4251
* [SE-0189][]
4352

4453
If an initializer is declared in a different module from a struct, it must
@@ -74,12 +83,12 @@ Swift 4.1
7483
s[keyPath: p] // "H"
7584
```
7685

77-
* [SE-0143][] The standard library types `Optional`, `Array`, and
78-
`Dictionary` now conform to the `Equatable` protocol when their element types
79-
conform to `Equatable`. This allows the `==` operator to compose (e.g., one
80-
can compare two values of type `[Int : [Int?]?]` with `==`), as well as use
81-
various algorthims defined for `Equatable` element types, such as
82-
`index(of:)`.
86+
* [SE-0143][] The standard library types `Optional`, `Array`, `ArraySlice`,
87+
`ContiguousArray`, and `Dictionary` now conform to the `Equatable` protocol
88+
when their element types conform to `Equatable`. This allows the `==` operator
89+
to compose (e.g., one can compare two values of type `[Int : [Int?]?]` with
90+
`==`), as well as use various algorthims defined for `Equatable` element
91+
types, such as `index(of:)`.
8392

8493
* [SE-0157][] is implemented. Associated types can now declare "recursive"
8594
constraints, which require that the associated type conform to the enclosing

0 commit comments

Comments
 (0)