mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] Remove AbstractFunctionDecl::computeType()
Its functionality is entirely subsumed by InterfaceTypeRequest.
This commit is contained in:
@@ -144,7 +144,7 @@ static ValueDecl *deriveInitDecl(DerivedConformance &derived, Type paramType,
|
||||
synthesizer(initDecl);
|
||||
|
||||
// Compute the interface type of the initializer.
|
||||
initDecl->computeType();
|
||||
(void)initDecl->getInterfaceType();
|
||||
|
||||
initDecl->setAccess(derived.Nominal->getFormalAccess());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user