@kontur.candy/generator 5.30.0-calc2-args-changed.1 → 5.30.0-calc2-args-changed.2
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
|
@@ -81455,7 +81455,7 @@ class MinusBinaryExpression extends BinaryExpression {
|
|
|
81455
81455
|
}
|
|
81456
81456
|
class MultiplicativeBinaryExpression extends BinaryExpression {
|
|
81457
81457
|
needAddBraces(child) {
|
|
81458
|
-
return !(child instanceof NegateUnaryExpression || child instanceof ValueReferenceExpression || child instanceof ArgumentReferenceExpression || child instanceof
|
|
81458
|
+
return !(child instanceof NegateUnaryExpression || child instanceof ValueReferenceExpression || child instanceof ArgumentReferenceExpression || child instanceof CastExpression || child instanceof ConstExpression);
|
|
81459
81459
|
}
|
|
81460
81460
|
getType() {
|
|
81461
81461
|
return BuildInTypeExpression.decimal;
|