marko 6.0.16 → 6.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4496,6 +4496,9 @@ function trackReferencesForBinding(babelBinding, binding) {
4496
4496
  for (const referencePath of referencePaths) {
4497
4497
  const referenceSection = getOrCreateSection(referencePath);
4498
4498
  if (isSameOrChildSection(binding.section, referenceSection)) {
4499
+ if (binding.type === 4 /* local */ && referenceSection === binding.section) {
4500
+ continue;
4501
+ }
4499
4502
  trackReference(referencePath, binding);
4500
4503
  } else {
4501
4504
  trackHoistedReference(referencePath, binding);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.16",
3
+ "version": "6.0.17",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",