Skip to content

Commit fa8f2ce

Browse files
committed
Add CHANGELOG.md entries for SE-0110 and SE-0148
1 parent 8b0094f commit fa8f2ce

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CHANGELOG
66

77
| Contents |
88
| :--------------------- |
9+
| [Swift 4.0](#swift-40) |
910
| [Swift 3.1](#swift-31) |
1011
| [Swift 3.0](#swift-30) |
1112
| [Swift 2.2](#swift-22) |
@@ -17,6 +18,28 @@ CHANGELOG
1718

1819
</details>
1920

21+
Swift 4.0
22+
---------
23+
24+
* [SE-0148][]:
25+
26+
Subscript declarations can now be defined to have generic parameter lists.
27+
Example:
28+
29+
```
30+
extension JSON {
31+
subscript<T>(key: String) -> T?
32+
where T : JSONConvertible {
33+
// ...
34+
}
35+
}
36+
```
37+
38+
* [SE-0110][]:
39+
40+
In Swift 4 mode, Swift's type system properly distinguishes between functions that
41+
take one tuple argument, and functions that take multiple arguments.
42+
2043
* More types of C macros which define integer constants are supported by the
2144
importer. Specifically the `+, -, *, /, ^, >>, ==, <, <=, >, >=` operators
2245
are now recognized, and the previously-supported `<<, &&, ||, &, |`

0 commit comments

Comments
 (0)