mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
context cleanup part 1
This commit is contained in:
@@ -1804,7 +1804,7 @@ static void synthesizeStubBody(AbstractFunctionDecl *fn, void *) {
|
||||
auto *ctor = cast<ConstructorDecl>(fn);
|
||||
auto &ctx = ctor->getASTContext();
|
||||
|
||||
auto unimplementedInitDecl = ctx.getUnimplementedInitializerDecl();
|
||||
auto unimplementedInitDecl = ctx.getUnimplementedInitializer();
|
||||
auto classDecl = ctor->getDeclContext()->getSelfClassDecl();
|
||||
if (!unimplementedInitDecl) {
|
||||
ctx.Diags.diagnose(classDecl->getLoc(),
|
||||
|
||||
Reference in New Issue
Block a user