[swift-evolution] classprivate protection level?

Adam Kemp adam_kemp at apple.com
Mon Oct 30 18:14:01 CDT 2017



> On Oct 30, 2017, at 4:10 PM, Mike Kluev <mike.kluev at gmail.com> wrote:
> 
> "classprivate" helps to resolve this problem. if it is marked so developer will at least think twice before making an extension to use it

Why would they think twice, though? You’ve told them extensions can use it, and they’ve written an extension to use it. What did they do wrong? I don’t think the rules are nearly as clear as for protected.



More information about the swift-evolution mailing list