Files
swift-mirror/lib/Sema/CSSimplify.cpp
Pavel Yaskevich d81007cf08 [CSSimplify] Avoid filtering init overloads of a callable type
If there is a call to `init` on a callable type that has a trailing
closure, let's avoid filtering because it's impossible to tell whether
a trailing closure belongs to an `init` call or implicit `.callAsFunction`
that would be attempted after it.

Resolves: rdar://92912878
2022-05-09 18:12:52 -07:00

521 KiB