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.esm.js
CHANGED
|
@@ -911,7 +911,7 @@ class Reference {
|
|
|
911
911
|
if (pattern === null) {
|
|
912
912
|
throw new Error(`Couldn't find '${this._referencePatternName}' pattern within tree.`);
|
|
913
913
|
}
|
|
914
|
-
const clonedPattern = pattern.clone();
|
|
914
|
+
const clonedPattern = pattern.clone(this._name);
|
|
915
915
|
clonedPattern.parent = this;
|
|
916
916
|
this._pattern = clonedPattern;
|
|
917
917
|
this._children = [this._pattern];
|