Skip to content

Commit 44eae31

Browse files
authored
Merge pull request #60865 from xedin/type-wrappers-make-storage-var-internal
[Sema] TypeWrappers: Set `$_storage` access level to `internal`
2 parents 1eb294d + 960906a commit 44eae31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeCheckTypeWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ GetTypeWrapperProperty::evaluate(Evaluator &evaluator,
195195
/*genericArgs=*/{storage->getInterfaceType()->getMetatypeInstanceType()});
196196

197197
return injectProperty(parent, ctx.Id_TypeWrapperProperty, propertyTy,
198-
VarDecl::Introducer::Var, AccessLevel::Private);
198+
VarDecl::Introducer::Var, AccessLevel::Internal);
199199
}
200200

201201
VarDecl *GetTypeWrapperStorageForProperty::evaluate(Evaluator &evaluator,

0 commit comments

Comments
 (0)