swift-book
swift-book copied to clipboard
The Swift Programming Language book
### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/initialization#Required-Initializers https://docs.swift.org/swift-book/documentation/the-swift-programming-language/protocols#Class-Implementations-of-Protocol-Initializer-Requirements ### Description In the _Required Initializers_ subsection, the second sentence of the second paragraph reads: > You don’t write the `override` modifier when overriding a `required`...
### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/concurrency/#Sendable-Types ### Description The last sentence of the first para of the section about Sendable Types is (to me, an uninformed reader) confusingly written and could be ideally...
| | | |------------------|-----------------| |Previous ID | SR-14030 | |Radar | rdar://problem/73014172 | |Original Reporter | @woolsweater | |Type | Bug | Environment Swift Book v5.3 on swift.org Additional Detail...
### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/controlflow#Value-Bindings ### Description The first sentence of the pentultimate paragraph in the Language Guide's _Value Bindings_ subsection reads: After the temporary constants are declared, they can be used...
### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/controlflow#Fallthrough ### Description In three instances in the _Fallthrough_ subsection, the term **fallthrough keyword** is given instead of **fallthrough statement**. While fallthough is a keyword, in each of...
### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/controlflow#Checking-API-Availability https://docs.swift.org/swift-book/documentation/the-swift-programming-language/statements#Availability-Condition ### Description In the Language Guide _Checking API Availability_ subsection, at the beginning of the third paragraph the text states: You can use an availability condition...
### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/controlflow#Labeled-Statements https://docs.swift.org/swift-book/documentation/the-swift-programming-language/errorhandling#Handling-Errors-Using-Do-Catch https://docs.swift.org/swift-book/documentation/the-swift-programming-language/statements#Break-Statement ### Description Xcode permits do statements to be labeled and to have labeled breaks therein (although not unlabeled breaks). No mention of this is given...
### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/patterns https://docs.swift.org/swift-book/documentation/the-swift-programming-language/patterns#Enumeration-Case-Pattern https://docs.swift.org/swift-book/documentation/the-swift-programming-language/patterns#Type-Casting-Patterns https://docs.swift.org/swift-book/documentation/the-swift-programming-language/patterns#Expression-Pattern ### Description There are two potential issues in the _Patterns_ section. The first is the statement in four locations that certain patterns may only...
### Location Between https://docs.swift.org/swift-book/documentation/the-swift-programming-language/genericparametersandarguments and https://docs.swift.org/swift-book/documentation/the-swift-programming-language/summaryofthegrammar ### Description It is proposed that the attached be added as the final subsection of the language reference prior to _Summary of the Grammar_....
### Location https://github.com/apple/swift-book/blob/main/TSPL.docc/ReferenceManual/SummaryOfTheGrammar.md?plain=1 In multiple places throughout this document. ### Description Thank you in advance for consideration of this very lengthy issue. Consider the following example program. This program is...