mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When lowering closures, we avoid capturing the enclosing generic context when possible. However, the generic context may still be necessary to canonicalize types mentioned inside the closure, such as when an associated type is referred to that is same-typed to a concrete type. Fixes rdar://problem/30254048.
7.1 KiB
7.1 KiB