Merge pull request #2082 from sveltejs/gh-2076

fix #2076
pull/2089/head
Rich Harris 6 years ago committed by GitHub
commit 15931af63e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -182,7 +182,7 @@ export default function dom(
if (owner && owner !== component.instance_scope) return;
const variable = component.var_lookup.get(name);
if (variable && variable.hoistable || variable.global || variable.module) return;
if (variable && (variable.hoistable || variable.global || variable.module)) return;
pending_assignments.add(name);
component.has_reactive_assignments = true;

Loading…
Cancel
Save