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/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/patterns/Reference.ts +1 -1
package/dist/index.browser.js
CHANGED
|
@@ -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];
|