Skip to content

Commit a80ea10

Browse files
committed
rename
1 parent a7c46ea commit a80ea10

File tree

1 file changed

+3
-3
lines changed
  • packages/svelte/src/compiler/phases/2-analyze

1 file changed

+3
-3
lines changed

packages/svelte/src/compiler/phases/2-analyze/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -804,9 +804,9 @@ const legacy_scope_tweaker = {
804804
ancestor.type === 'EachBlock' &&
805805
state.analysis.template.scopes.get(ancestor)?.declarations.get(node.name) === binding
806806
) {
807-
for (const reference of ancestor.metadata.references) {
808-
if (reference.kind === 'normal') {
809-
reference.kind = 'state';
807+
for (const binding of ancestor.metadata.references) {
808+
if (binding.kind === 'normal') {
809+
binding.kind = 'state';
810810
}
811811
}
812812
break;

0 commit comments

Comments
 (0)