Skip to content

Commit b371b44

Browse files
authored
Add SE-0315 to the changelog (#38976)
1 parent 68d72cd commit b371b44

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
55

66
Swift 5.6
77
---------
8+
* [SE-0315][]:
9+
10+
Type expressions and annotations can now include "type placeholders" which
11+
directs the compiler to fill in that portion of the type according to the usual
12+
type inference rules. Type placeholders are spelled as an underscore ("`_`") in
13+
a type name. For instance:
14+
15+
```swift
16+
// This is OK--the compiler can infer the key type as `Int`.
17+
let dict: [_: String] = [0: "zero", 1: "one", 2: "two"]
18+
```
19+
820
* [SE-0290][]:
921

1022
It is now possible to write inverted availability conditions by using the new `#unavailable` keyword:
@@ -8680,6 +8692,7 @@ Swift 1.0
86808692
[SE-0310]: <https://github.com/apple/swift-evolution/blob/main/proposals/0310-effectful-readonly-properties.md>
86818693
[SE-0311]: <https://github.com/apple/swift-evolution/blob/main/proposals/0311-task-locals.md>
86828694
[SE-0313]: <https://github.com/apple/swift-evolution/blob/main/proposals/0313-actor-isolation-control.md>
8695+
[SE-0315]: <https://github.com/apple/swift-evolution/blob/main/proposals/0315-placeholder-types.md>
86838696
[SE-0316]: <https://github.com/apple/swift-evolution/blob/main/proposals/0316-global-actors.md>
86848697

86858698
[SR-75]: <https://bugs.swift.org/browse/SR-75>

0 commit comments

Comments
 (0)