mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
While trying to diagnose a problem related to contextual result type of the trailing closure, don't assume that declaration context is properly set, instead directly set it to correct one before running type-check. Resolves: rdar://problem/35699666
316 KiB
316 KiB