> On Nov 1, 2017, at 8:28 AM, Mike Kluev <mike.kl...@gmail.com> wrote:
> 
> name and ledger are essential in this proposal.
> 
> no name -> 
> no ledger (how to reference it?) -> 

What purpose does the “ledger" serve? I’m not sure what this even means.

> anyone can write parts of your class -> 

Anyone in the same module, but only if you explicitly declare your class as 
partial in the first place.

Impartial.swift:
class Impartial {}
Impartial.extra.swift:
partial class Impartial {} // error

Partial.swift:
partial class Partial {}
Partial.extra.swift:
partial class Partial {} // OK
Partial.othermodule.swift:
partial class Partial {} // Error

> anyone can add variables to your class ?! -> 
> anyone can access private members of your class ?! 
> 
> makes no sense without a name and a ledger.
> 
> Mike
> 

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to