@abaplint/core 2.113.100 → 2.113.101
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.
|
@@ -42,7 +42,12 @@ class MethodSource {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
if (context instanceof basic_1.VoidType) {
|
|
45
|
-
|
|
45
|
+
while (children.length > 0) {
|
|
46
|
+
const current = children.shift();
|
|
47
|
+
if (current instanceof nodes_1.ExpressionNode && current.get() instanceof Expressions.Dynamic) {
|
|
48
|
+
new dynamic_1.Dynamic().runSyntax(current, input);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
46
51
|
return context;
|
|
47
52
|
}
|
|
48
53
|
while (children.length > 0) {
|
|
@@ -6,7 +6,7 @@ const combi_1 = require("../../abap/2_statements/combi");
|
|
|
6
6
|
class CDSCast extends combi_1.Expression {
|
|
7
7
|
getRunnable() {
|
|
8
8
|
const name = (0, combi_1.seq)(_1.CDSName, (0, combi_1.optPrio)((0, combi_1.seq)(".", _1.CDSName)));
|
|
9
|
-
return (0, combi_1.seq)("CAST", "(", (0, combi_1.altPrio)(_1.CDSFunction, _1.CDSCase, _1.CDSAggregate, CDSCast, _1.CDSString,
|
|
9
|
+
return (0, combi_1.seq)("CAST", "(", (0, combi_1.altPrio)(_1.CDSFunction, _1.CDSCase, _1.CDSAggregate, _1.CDSArithmetics, CDSCast, _1.CDSString, name), "AS", _1.CDSType, (0, combi_1.optPrio)((0, combi_1.seq)("PRESERVING", "TYPE")), ")");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
exports.CDSCast = CDSCast;
|
package/build/src/registry.js
CHANGED