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.esm.js CHANGED
@@ -2843,6 +2843,7 @@ class ExpressionPattern {
2843
2843
  const unaryPrefix = this._extractUnaryPrefixPattern(pattern).clone();
2844
2844
  this._unaryPrefixPatterns.push(pattern);
2845
2845
  this._unaryPrefixNames.push(pattern.name);
2846
+ unaryPrefix.parent = this;
2846
2847
  finalPatterns.push(unaryPrefix);
2847
2848
  }
2848
2849
  else if (this._isBinary(pattern)) {