[SR-1199] Trailing Closures with Multiple Closure Parameters #43807
Labels
code completion
Area → source tooling: code completion
improvement
source tooling
Area: IDE support, SourceKit, and other source tooling
Additional Detail from JIRA
md5: ff91fff5f7b36b0fe8973652f8a47315
Issue Description:
Some functions have 2 closure parameters, such as:
With Xcode's auto fill you end up with:
The completion parameter is auto completed as a trailing closure, but this makes less sense when following a previous closure parameter. For clarity I think that functions that have 2 closures should not treat the last closure as a trailing closure and should instead look like this:
The text was updated successfully, but these errors were encountered: