Andreas Rossberg (2014-10-30T08:32:40.000Z)
d at domenic.me (2014-11-18T22:35:35.164Z)
On 29 October 2014 21:59, Mark S. Miller <erights at google.com> wrote: > Yes. We're talking about class-private instance state, not instance-private > instance state, so one instance can be asked about another alleged instance. Yes, that's what I am talking about as well. Maybe I'm being dense, but again, where does class-private instance state require a private name / weak map to go _through_ a membrane? Any legal instance would always originate from the same side, i.e., would be unproxied when encountered by a method. So accessing the private state works where it should work. Symmetrically, as long as proxies simply signal absence of private fields (without leaking private symbols to any trap), it also works correctly (i.e., fails) to ask a non-instance about private fields. As I said, this would really be the exact same model as we already have for built-in / host internal state.