mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST/Sema] TypeWrappers/NFC: Rename type wrapper storage property to $storage
This commit is contained in:
@@ -1249,7 +1249,7 @@ void TypeChecker::addImplicitConstructors(NominalTypeDecl *decl) {
|
||||
auto &ctx = decl->getASTContext();
|
||||
// If declaration is type wrapped and there are no
|
||||
// designated initializers, synthesize a special
|
||||
// memberwise initializer that would instantiate `$_storage`.
|
||||
// memberwise initializer that would instantiate `$storage`.
|
||||
if (!hasUserDefinedDesignatedInit(ctx.evaluator, decl))
|
||||
(void)decl->getTypeWrappedTypeMemberwiseInitializer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user