mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Keep track of the type decl that the type witness came from, for protocol conformances.
Swift SVN r27352
This commit is contained in:
@@ -1244,7 +1244,8 @@ public:
|
||||
continue;
|
||||
Conformance->forEachTypeWitness(TypeResolver.get(),
|
||||
[&](const AssociatedTypeDecl *ATD,
|
||||
const Substitution &Subst) -> bool {
|
||||
const Substitution &Subst,
|
||||
TypeDecl *TD) -> bool {
|
||||
Types[ATD] = Subst.getReplacement();
|
||||
return false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user