swift
88c477b0 - [ConstraintSystem] Accept trailing closure if the last parameter is defaulted

Commit
6 years ago
[ConstraintSystem] Accept trailing closure if the last parameter is defaulted If the last parameter is defaulted, there might be an attempt to use a trailing closure with previous parameter that accepts a function type e.g. ```swift func foo(_: () -> Int, _ x: Int = 0) {} foo { 42 } ``` Resolves: rdar://problem/55102498
Author
Committer
Parents
Loading