mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Sema: Call setValidationStarted() on various synthesized FuncDecls
This commit is contained in:
@@ -181,6 +181,7 @@ static ValueDecl *deriveInitDecl(TypeChecker &tc, Decl *parentDecl,
|
||||
initDecl->setInterfaceType(allocIfaceType);
|
||||
initDecl->setInitializerInterfaceType(initIfaceType);
|
||||
initDecl->setAccess(enumDecl->getFormalAccess());
|
||||
initDecl->setValidationStarted();
|
||||
|
||||
// If the enum was not imported, the derived conformance is either from the
|
||||
// enum itself or an extension, in which case we will emit the declaration
|
||||
|
||||
Reference in New Issue
Block a user