clarity-pattern-parser 10.2.1 → 10.2.2

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.
@@ -2790,11 +2790,11 @@
2790
2790
  }
2791
2791
  _isBinaryPattern(pattern) {
2792
2792
  return pattern.type === "sequence" &&
2793
+ pattern.children.length === 3 &&
2793
2794
  pattern.children[0].type === "reference" &&
2794
2795
  pattern.children[0].name === this.name &&
2795
2796
  pattern.children[2].type === "reference" &&
2796
- pattern.children[2].name === this.name &&
2797
- pattern.children.length === 3;
2797
+ pattern.children[2].name === this.name;
2798
2798
  }
2799
2799
  _extractDelimiter(pattern) {
2800
2800
  if (pattern.type === "right-associated") {