pull/4071/head
Conduitry 6 years ago
parent 83d3693753
commit cbb572fb07

@ -1289,7 +1289,7 @@ export default class Component {
if (this.var_lookup.has(name) && !this.var_lookup.get(name).global) return; if (this.var_lookup.has(name) && !this.var_lookup.get(name).global) return;
if (template_scope && template_scope.names.has(name)) return; if (template_scope && template_scope.names.has(name)) return;
if (globals.has(name) && node.type != 'InlineComponent') return; if (globals.has(name) && node.type !== 'InlineComponent') return;
let message = `'${name}' is not defined`; let message = `'${name}' is not defined`;
if (!this.ast.instance) if (!this.ast.instance)

Loading…
Cancel
Save