AST: Remove some unnecessary calls to setGenericSignature()

This commit is contained in:
Slava Pestov
2019-10-10 02:15:47 -04:00
parent f543d248d6
commit 87cc09c02b
8 changed files with 0 additions and 21 deletions

View File

@@ -144,7 +144,6 @@ static ValueDecl *deriveInitDecl(DerivedConformance &derived, Type paramType,
synthesizer(initDecl);
// Compute the interface type of the initializer.
initDecl->setGenericSignature(parentDC->getGenericSignatureOfContext());
initDecl->computeType();
initDecl->setAccess(derived.Nominal->getFormalAccess());