clarity-pattern-parser 10.2.5 → 10.2.6

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.
package/dist/index.js CHANGED
@@ -2904,7 +2904,7 @@ class ExpressionPattern {
2904
2904
  }
2905
2905
  else {
2906
2906
  const recursiveNode = createNode(name, [lastUnaryNode, ...node.children]);
2907
- recursiveNode.normalize(this._firstIndex);
2907
+ recursiveNode.normalize(lastUnaryNode.startIndex);
2908
2908
  lastUnaryNode = recursiveNode;
2909
2909
  break;
2910
2910
  }