You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CSBindings] Solver result builder transformed closures as soon as all contextual information becomes available
We determine that based on four criteria:
- Builder type doesn't have any unresolved generic parameters;
- Contextual type associated with the closure doesn't have any unresolved type variables (which means that all possible contextual information is provided to the body);
- All of the references to declarations from outer scope are resolved (i.e. a variable declaration from a parent closure);
- The contextual result type is either fully resolved or opaque type.
If all the criteria a met the conjunction that represents a closure is going to be picked and solved as the next solver step.
Resolves: rdar://104645543
(cherry picked from commit f27369d)
(cherry picked from commit a815de7)
(cherry picked from commit 38f8be1)
(cherry picked from commit 5bb9d75)
(cherry picked from commit fda7530)
(cherry picked from commit b84d70b)
0 commit comments