Hi Ted,
Code completion in Swift 2.2 is still putting back-ticks around argument labels that are keywords when forming calls, e.g., given:
func find(x: Int, in array: [Int]) -> Int? { … }
code completion for “find” would back-tick “in” unnecessarily to form:
find(<#x: Int#>, `in`: <#array: [Int]#>)
which immediately results in a diagnostic + Fix-It removing the back-ticks. This is fixed by
[Code completion] Only escape var/let/inout in call argument lists. · apple/swift@f1aac08 · GitHub
which I’d like to pull into the Swift 2.2 branch.
- Doug