[swift-evolution] continuations - "extensions on steroids" idea

Adam Kemp adam.kemp at apple.com
Thu Nov 2 22:05:49 CDT 2017


> On Nov 2, 2017, at 7:52 PM, Noah Desch <deschnl at icloud.com> wrote:
> 
> 
> IMO the ledger isn’t just about access control, it’s also about having a convenient (and guaranteed correct, due compiler enforcement) place to see where the rest of your class is defined. 

I have worked on several large code bases in C# that made extensive use of partial classes. This was never a problem. No one ever tried to put a partial class where it didn’t belong. 

Would it be an error to have an entry in the “ledger” but not a corresponding implementation?


More information about the swift-evolution mailing list