swift
b07dafab - [CSSimplify] Exploaded tuple argument should assume param's label if first element doesn't have one

Commit
2 years ago
[CSSimplify] Exploaded tuple argument should assume param's label if first element doesn't have one If tuple doesn't have a label for its first element and parameter does, let's assume parameter's label to aid argument matching. For example: ```swift func test(val: Int, _: String) {} test(val: (42, "")) // expands into `(val: 42, "")` ``` Resolves: rdar://106775969
Author
Committer
Parents
Loading