swift
c257cdbc - Sema: Relax primary associated type matching in matchExistentialTypes()

Commit
1 year ago
Sema: Relax primary associated type matching in matchExistentialTypes() Recently I found a soundness hole here, where we would allow conversion between `any P<T>` and `any Q<T>` even if P and Q have different primary associated types. However, the fix was too strict, because we still want to allow the conversion when the associated types have the same name. Fixes rdar://141968103.
Author
Committer
Parents
Loading