|
|
@ -803,12 +803,9 @@ export default class Component {
|
|
|
|
|
|
|
|
|
|
|
|
if (node.type === 'CallExpression') {
|
|
|
|
if (node.type === 'CallExpression') {
|
|
|
|
node.arguments.forEach(arg => {
|
|
|
|
node.arguments.forEach(arg => {
|
|
|
|
if (arg.type === 'Identifier') {
|
|
|
|
if (arg.type === 'Identifier' && scope.find_owner(arg.name) === instance_scope) {
|
|
|
|
const { name } = arg;
|
|
|
|
const variable = component.var_lookup.get(arg.name);
|
|
|
|
if (scope.find_owner(name) === instance_scope) {
|
|
|
|
variable.aliased = true;
|
|
|
|
const variable = component.var_lookup.get(name);
|
|
|
|
|
|
|
|
variable.aliased = true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|