|
|
@ -266,10 +266,7 @@ export function proxy(value) {
|
|
|
|
// object property before writing to that property.
|
|
|
|
// object property before writing to that property.
|
|
|
|
if (s === undefined) {
|
|
|
|
if (s === undefined) {
|
|
|
|
if (!has || get_descriptor(target, prop)?.writable) {
|
|
|
|
if (!has || get_descriptor(target, prop)?.writable) {
|
|
|
|
s = with_parent(() => {
|
|
|
|
s = with_parent(() => source(undefined, stack));
|
|
|
|
var s = source(undefined, stack);
|
|
|
|
|
|
|
|
return s;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
set(s, proxy(value));
|
|
|
|
set(s, proxy(value));
|
|
|
|
|
|
|
|
|
|
|
|
sources.set(prop, s);
|
|
|
|
sources.set(prop, s);
|
|
|
|