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
Sema: Fix two problems in checkReferencedGenericParams() analysis
- Don't walk into the count type of a PackExpansionType, because
when matching two PackExpansionTypes, the solver only introduces
a shape constraint between the count types, which does not fix it
to a concrete type.
- Similarly, don't walk into type alias substitutions, because
only the desugared type is considered by the constraint solver.
This is mildly source breaking, in that before we let you declare
generic functions that could not be called.
0 commit comments