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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarity-pattern-parser",
3
- "version": "11.0.27",
3
+ "version": "11.0.28",
4
4
  "description": "Parsing Library for Typescript and Javascript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -131,7 +131,7 @@ export class Reference implements Pattern {
131
131
  throw new Error(`Couldn't find '${this._referencePatternName}' pattern within tree.`);
132
132
  }
133
133
 
134
- const clonedPattern = pattern.clone();
134
+ const clonedPattern = pattern.clone(this._name);
135
135
  clonedPattern.parent = this;
136
136
 
137
137
  this._pattern = clonedPattern;