Connect prototype members across files - #480
Conversation
ae8b70f to
f7045c6
Compare
f7045c6 to
c4b6813
Compare
c2f4bea to
cc77479
Compare
cc77479 to
9880029
Compare
9880029 to
73738a5
Compare
|
This appears to cover only whole-object replacement ( I think if we're doing this, we should also cover those common variants to avoid surprises (the first 5 in this table)
|
Cover direct and bracket assignments and Object.defineProperty with stable constructor-owned symbols. Normalize literal member names and keep local owners out of shared caches. Amp-Thread-ID: https://ampcode.com/threads/T-01a0f298-28ec-7699-bc15-3ac5b66731e5 Co-authored-by: Amp <amp@ampcode.com>
|
|
There was a problem hiding this comment.
I think covering the rest and being feature-equivalent would be a good win. WDYT? Pushed support for those.
Yeah that's exactly what I meant with
I think if we're doing this, we should also cover those common variants to avoid surprises (the first 5 in this table)
Thanks, this looks great!
Treat object literals assigned to
Constructor.prototypeas members of the constructor when generating SCIP symbols. This gives the prototype object, method declarations, function-valued properties, and data properties stable constructor-owned symbols that connect to references in other files without dangling intermediate locals.Fixes #409.