suppress $$props is not defined warning

pull/2270/head
Rich Harris 6 years ago
parent 28f91b5681
commit f48c76b7f6

@ -1175,7 +1175,9 @@ export default class Component {
if (name[0] === '$') {
name = name.slice(1);
this.has_reactive_assignments = true;
this.has_reactive_assignments = true; // TODO does this belong here?
if (name[0] === '$') return; // $$props
}
if (this.var_lookup.has(name)) return;

Loading…
Cancel
Save