|
|
@ -798,14 +798,13 @@ export default class Component {
|
|
|
|
|
|
|
|
|
|
|
|
names.forEach(name => {
|
|
|
|
names.forEach(name => {
|
|
|
|
const scope_owner = scope.find_owner(name);
|
|
|
|
const scope_owner = scope.find_owner(name);
|
|
|
|
if (scope_owner !== null) {
|
|
|
|
if (
|
|
|
|
if (scope_owner === instance_scope) {
|
|
|
|
scope_owner !== null
|
|
|
|
const variable = component.var_lookup.get(name);
|
|
|
|
? scope_owner === instance_scope
|
|
|
|
variable[deep ? 'mutated' : 'reassigned'] = true;
|
|
|
|
: module_scope && module_scope.has(name)
|
|
|
|
}
|
|
|
|
) {
|
|
|
|
} else if (module_scope && module_scope.has(name)) {
|
|
|
|
|
|
|
|
const variable = component.var_lookup.get(name);
|
|
|
|
const variable = component.var_lookup.get(name);
|
|
|
|
variable[deep ? 'mutated' : 'reassigned'] = true;
|
|
|
|
variable[deep ? "mutated" : "reassigned"] = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|