Merge pull request #1038 from Nemocdz/gh-pages

update Swift 5.2 beta
This commit is contained in:
DanziChen
2020-02-15 18:23:33 +08:00
committed by GitHub

View File

@ -1,5 +1,12 @@
# Swift 文档修订历史
### 2020-02-05
* 更新至 Swift 5.2。
* 在 [特殊名称方法](../03_language_reference/06_Declarations.md#methods-with-special-names) 章节中新增了有关让类、结构体和枚举的实例作为函数调用语法糖的内容。
* 更新 [下标选项](../02_language_guide/12_Subscripts.md#subscript-options) 章节,现在下标支持形参默认值。
* 更新 [自身类型](../03_language_reference/03_Types.md#self-type-h) 章节,现在 `Self` 可以在更多上下文中使用。
### 2019-09-10
* 更新至 Swift 5.1。