@kontur.candy/generator 5.14.0-rsvfunctions.5 → 5.14.0-rsvfunctions.6

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -81246,7 +81246,7 @@ class ReduceCallExpression extends CallExpression {
81246
81246
  return this.reduceFunction.getType();
81247
81247
  }
81248
81248
  convertToString() {
81249
- return `reduce(${toFLangString(this.modelPath)}/#iter, ${this.reduceFunction.convertToString()}, ${this.initialValue.convertToString()})`;
81249
+ return `reduce(${toFLangString(this.modelPath)}${this.modelPath.isEndsWithIteration() ? "" : "/#iter"}, ${this.reduceFunction.convertToString()}, ${this.initialValue.convertToString()})`;
81250
81250
  }
81251
81251
  }
81252
81252
  class ReduceMultipleCallExpression extends CallExpression {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "5.14.0-rsvfunctions.5",
3
+ "version": "5.14.0-rsvfunctions.6",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,