mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Local functions can capture variables from parent closures, so we need to make sure we type-check parent closures when doing completion in a local function. Ideally we ought to be able to be more selective about the elements of the parent closure that we type-check, but that's a more complex change I'm leaving as future work for now.
5.6 KiB
5.6 KiB