@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.
- package/dist/index.js +1 -1
- 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 {
|