clarity-pattern-parser 10.3.3 → 10.3.4

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
@@ -2847,6 +2847,7 @@ class ExpressionPattern {
2847
2847
  const unaryPrefix = this._extractUnaryPrefixPattern(pattern).clone();
2848
2848
  this._unaryPrefixPatterns.push(pattern);
2849
2849
  this._unaryPrefixNames.push(pattern.name);
2850
+ unaryPrefix.parent = this;
2850
2851
  finalPatterns.push(unaryPrefix);
2851
2852
  }
2852
2853
  else if (this._isBinary(pattern)) {