clarity-pattern-parser 11.0.8 → 11.0.9

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.
@@ -3671,7 +3671,7 @@
3671
3671
  _saveConfigurableAnonymous(node) {
3672
3672
  const nameNode = node.find(n => n.name === "name");
3673
3673
  const name = nameNode.value;
3674
- const anonymousNode = node.find(n => n.name === "complex-anonymous-pattern");
3674
+ const anonymousNode = node.find(n => n.name === "configurable-anonymous-pattern");
3675
3675
  const isOptional = node.children[1] != null;
3676
3676
  const anonymous = isOptional ? new Optional(name, this._buildPattern(anonymousNode)) : this._buildPattern(anonymousNode);
3677
3677
  this._parseContext.patternsByName.set(name, anonymous);