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: Visit types of captures to determine if a closure captures the generic signature
Otherwise, we can miss that 'self' has a generic type when accessed
via a 'super' call if the type of 'super' is concrete.
This is a regression from a patch series to allow C function pointers
to be formed from closures in generic contexts -- basically, the
check was not conservative enough, and in this case, it would
conclude the closure did not capture the generic signature when
in reality it did:
533f42d
Fixes <rdar://problem/25439564>.
0 commit comments