Scott Richmond

Results 36 issues of Scott Richmond

### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/statements#Compiler-Control-Statements https://docs.swift.org/swift-book/documentation/the-swift-programming-language/statements#Compile-Time-Diagnostic-Statement ### Description In Swift 5.9, the #warning and #error special literals were replaced by corresponding freestanding literals. Partial changes were made to the text. These should...

### Location 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#Throw-Statement https://docs.swift.org/swift-book/documentation/the-swift-programming-language/statements#Do-Statement ### Description Per the _Throw Statement_ subsection: A throw statement occurs in the body of a throwing function or method, or in the body of...

### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/basicoperators#Compound-Assignment-Operators https://docs.swift.org/swift-book/documentation/the-swift-programming-language/advancedoperators#Compound-Assignment-Operators https://docs.swift.org/swift-book/documentation/the-swift-programming-language/expressions#Infix-Expressions https://docs.swift.org/swift-book/documentation/the-swift-programming-language/expressions#Assignment-Operator https://docs.swift.org/swift-book/documentation/the-swift-programming-language/summaryofthegrammar#Expressions https://developer.apple.com/documentation/swift/operator-declarations ### Description According to the formal grammar, compound assignment operators should be considered as infix rather than assignment operators as the Grammar...

### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/declarations#Special-Kinds-of-Methods ### Description Add a note in the _Special Kinds of Methods_ subsection that enumerates the pseudo-functions that cannot be provided as an argument to a closure or...

Enhancement

### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/expressions#Key-Path-Expression ### Description self is mislocated in the grammar. It should be an alternative to identifier as a key-path-component, rather than as a key-path-suffix. This allows self to...

### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/types#Function-Type ### Description The following is an excerpt from the _Function Type_ subsection of the _Types_ section: Argument names in functions and methods aren’t part of the corresponding...

### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/functions#Variadic-Parameters https://docs.swift.org/swift-book/documentation/the-swift-programming-language/types#Function-Type https://docs.swift.org/swift-book/documentation/the-swift-programming-language/summaryofthegrammar#Types ### Description Per the _Variadic Parameters_ subsection: A function can have multiple variadic parameters. Per the _Function Type_ subsection: A function type can have variadic...

Update _The Swift Programming Language_ to match the language changes implemented by SE-0386. Five subsections in the document were identified as being impacted by the implementation of SE-0386. # Guide...

Content issue

### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/automaticreferencecounting#Strong-Reference-Cycles-Between-Class-Instances https://docs.swift.org/swift-book/documentation/the-swift-programming-language/automaticreferencecounting#Resolving-Strong-Reference-Cycles-Between-Class-Instances ### Description The wording in both the _Strong Reference Cycles Between Class Instances_ and the _Resolving Strong Reference Cycles Between Class Instances_ subsections limits the length...

### Location https://docs.swift.org/swift-book/documentation/the-swift-programming-language/automaticreferencecounting#Defining-a-Capture-List https://docs.swift.org/swift-book/documentation/the-swift-programming-language/expressions#Capture-Lists ### Description The first paragraph in the _Defining a Capture List_ subsection reads: Each item in a capture list is a pairing of the weak or...