clarity-pattern-parser 11.0.27 → 11.0.28

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.
@@ -917,7 +917,7 @@
917
917
  if (pattern === null) {
918
918
  throw new Error(`Couldn't find '${this._referencePatternName}' pattern within tree.`);
919
919
  }
920
- const clonedPattern = pattern.clone();
920
+ const clonedPattern = pattern.clone(this._name);
921
921
  clonedPattern.parent = this;
922
922
  this._pattern = clonedPattern;
923
923
  this._children = [this._pattern];