swift
5bb40ae6 - Sema: Fix doesMemberHaveUnfulfillableConstraintsWithExistentialBase() for generic context

Commit
4 years ago
Sema: Fix doesMemberHaveUnfulfillableConstraintsWithExistentialBase() for generic context We don't want to pass in the outer generic signature here. The base type's constraint type is written in terms of archetypes, and we run generic signature queries against it with types appearing in the protocol member. Since the protocol member has Self at depth 0, index 0, prepending the outer generic signature to the opened existential signature would produce incorrect results.
Author
Committer
Parents
Loading