Skip to content

Commit

Permalink
Add CHANGELOG.md entries for SE-0110 and SE-0148
Browse files Browse the repository at this point in the history
  • Loading branch information
slavapestov committed Feb 27, 2017
1 parent 8b0094f commit fa8f2ce
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CHANGELOG

| Contents |
| :--------------------- |
| [Swift 4.0](#swift-40) |
| [Swift 3.1](#swift-31) |
| [Swift 3.0](#swift-30) |
| [Swift 2.2](#swift-22) |
Expand All @@ -17,6 +18,28 @@ CHANGELOG

</details>

Swift 4.0
---------

* [SE-0148][]:

Subscript declarations can now be defined to have generic parameter lists.
Example:

```
extension JSON {
subscript<T>(key: String) -> T?
where T : JSONConvertible {
// ...
}
}
```

* [SE-0110][]:

In Swift 4 mode, Swift's type system properly distinguishes between functions that
take one tuple argument, and functions that take multiple arguments.

* More types of C macros which define integer constants are supported by the
importer. Specifically the `+, -, *, /, ^, >>, ==, <, <=, >, >=` operators
are now recognized, and the previously-supported `<<, &&, ||, &, |`
Expand Down

0 comments on commit fa8f2ce

Please sign in to comment.