mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
In situations like `T(...) { ... }` where `T` is a callable type,
it's not immediately clear whether trailing closures are associated
with `.init` of `T` or implicit `.callAsFunction`. So if constructor
didn't match trailing closures, let's attempt to split them off and
form an implicit `.callAsFunction` call with them as a fallback.
495 KiB
495 KiB