huh apparently this works

pull/3171/head
Richard Harris 6 years ago
parent ccaaabc510
commit e85f8afa1c

@ -140,6 +140,7 @@ export default class Expression {
if (template_scope.is_let(name)) {
if (!function_expression) { // TODO should this be `!lazy` ?
contextual_dependencies.add(name);
dependencies.add(name);
}
} else if (template_scope.names.has(name)) {
expression.uses_context = true;

Loading…
Cancel
Save