@abaplint/cli 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.
Files changed (2) hide show
  1. package/build/cli.js +8 -3
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -26976,7 +26976,12 @@ class MethodSource {
26976
26976
  }
26977
26977
  }
26978
26978
  if (context instanceof basic_1.VoidType) {
26979
- // todo, if there are more dynamic with variables, the references for the variables are not added?
26979
+ while (children.length > 0) {
26980
+ const current = children.shift();
26981
+ if (current instanceof nodes_1.ExpressionNode && current.get() instanceof Expressions.Dynamic) {
26982
+ new dynamic_1.Dynamic().runSyntax(current, input);
26983
+ }
26984
+ }
26980
26985
  return context;
26981
26986
  }
26982
26987
  while (children.length > 0) {
@@ -40971,7 +40976,7 @@ const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "./node
40971
40976
  class CDSCast extends combi_1.Expression {
40972
40977
  getRunnable() {
40973
40978
  const name = (0, combi_1.seq)(_1.CDSName, (0, combi_1.optPrio)((0, combi_1.seq)(".", _1.CDSName)));
40974
- return (0, combi_1.seq)("CAST", "(", (0, combi_1.altPrio)(_1.CDSFunction, _1.CDSCase, _1.CDSAggregate, CDSCast, _1.CDSString, _1.CDSArithmetics, name), "AS", _1.CDSType, (0, combi_1.optPrio)((0, combi_1.seq)("PRESERVING", "TYPE")), ")");
40979
+ 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")), ")");
40975
40980
  }
40976
40981
  }
40977
40982
  exports.CDSCast = CDSCast;
@@ -53836,7 +53841,7 @@ class Registry {
53836
53841
  }
53837
53842
  static abaplintVersion() {
53838
53843
  // magic, see build script "version.sh"
53839
- return "2.113.100";
53844
+ return "2.113.101";
53840
53845
  }
53841
53846
  getDDICReferences() {
53842
53847
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.100",
3
+ "version": "2.113.101",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,12 +38,12 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.100",
41
+ "@abaplint/core": "^2.113.101",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.10",
46
- "@types/node": "^22.12.0",
46
+ "@types/node": "^22.13.0",
47
47
  "@types/progress": "^2.0.7",
48
48
  "chai": "^4.5.0",
49
49
  "chalk": "^5.4.1",