mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add a LazyResolver to ProtocolConformance::getWitness().
Swift SVN r11331
This commit is contained in:
@@ -186,7 +186,7 @@ static FuncDecl *findNamedWitness(TypeChecker &tc, DeclContext *dc,
|
||||
|
||||
assert(conformance && "Missing conformance information");
|
||||
// FIXME: Dropping substitutions here.
|
||||
return cast<FuncDecl>(conformance->getWitness(requirement).getDecl());
|
||||
return cast<FuncDecl>(conformance->getWitness(requirement, &tc).getDecl());
|
||||
}
|
||||
|
||||
/// Adjust the given type to become the self type when referring to
|
||||
|
||||
Reference in New Issue
Block a user