memberwise initializers' access level

Accoding to Apple's doc: "The default memberwise initializer for a structure type is considered private if any of the structure’s stored properties are private. Likewise, if any of the structure’s stored properties are file private, the initializer is file private. Otherwise, the initializer has an access level of internal."


But what if a structure contains both private AND file private stored properties? Is the memberwise initializer for that structure private or file private? Or is it internal?

Replies

IMHO it should be private, the highest pricacy level.


But you could test on a small example by yourself…