mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Handle explicit lifetime dependence specifiers in initializers
This commit is contained in:
@@ -133,7 +133,8 @@ static ValueDecl *deriveInitDecl(DerivedConformance &derived, Type paramType,
|
||||
/*Throws=*/false, /*ThrowsLoc=*/SourceLoc(),
|
||||
/*ThrownType=*/TypeLoc(),
|
||||
paramList,
|
||||
/*GenericParams=*/nullptr, parentDC);
|
||||
/*GenericParams=*/nullptr, parentDC,
|
||||
/*LifetimeDependentReturnTypeRepr*/ nullptr);
|
||||
|
||||
initDecl->setImplicit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user