|
|
|
|
@ -8,11 +8,10 @@ export default function mark_each_block_bindings(parent, binding) {
|
|
|
|
|
binding.expression.references.forEach((name) => {
|
|
|
|
|
const each_block = parent.node.scope.get_owner(name);
|
|
|
|
|
if (each_block) {
|
|
|
|
|
( /** @type {import('../../../nodes/EachBlock.js').default} */(each_block)).has_binding = true;
|
|
|
|
|
/** @type {import('../../../nodes/EachBlock.js').default} */ (each_block).has_binding = true;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
if (binding.name === 'group') {
|
|
|
|
|
|
|
|
|
|
/** @param {string} name */
|
|
|
|
|
const add_index_binding = (name) => {
|
|
|
|
|
const each_block = parent.node.scope.get_owner(name);
|
|
|
|
|
@ -29,7 +28,3 @@ export default function mark_each_block_bindings(parent, binding) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|