@abaplint/core 2.113.185 → 2.113.187

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.
@@ -7,7 +7,7 @@ const version_1 = require("../../../version");
7
7
  class ValueBody extends combi_1.Expression {
8
8
  getRunnable() {
9
9
  const strucOrTab = (0, combi_1.seq)((0, combi_1.optPrio)(_1.Let), (0, combi_1.optPrio)(_1.ValueBase), (0, combi_1.star)(_1.For), (0, combi_1.plusPrio)((0, combi_1.altPrio)(_1.FieldAssignment, _1.ValueBodyLine)));
10
- const tabdef = (0, combi_1.ver)(version_1.Version.v740sp08, (0, combi_1.altPrio)("OPTIONAL", (0, combi_1.seq)("DEFAULT", _1.Source)));
10
+ const tabdef = (0, combi_1.ver)(version_1.Version.v740sp08, (0, combi_1.altPrio)("OPTIONAL", (0, combi_1.seq)("DEFAULT", _1.Source)), version_1.Version.OpenABAP);
11
11
  return (0, combi_1.optPrio)((0, combi_1.altPrio)(strucOrTab, (0, combi_1.seq)(_1.Source, (0, combi_1.optPrio)(tabdef))));
12
12
  }
13
13
  }
@@ -124,12 +124,17 @@ class Table extends _abstract_object_1.AbstractObject {
124
124
  if (field.GROUPNAME !== undefined) {
125
125
  components.push({ name: field.GROUPNAME, type: found, asInclude: true });
126
126
  }
127
- if (field.FIELDNAME.startsWith(".INCLU-") === false
128
- || field.FIELDNAME === ".INCLU--AP") {
127
+ if (field.FIELDNAME.startsWith(".INCLU-") === false) {
129
128
  for (const c of found.getComponents()) {
130
129
  components.push({ name: c.name, type: c.type });
131
130
  }
132
131
  }
132
+ else if (field.FIELDNAME.startsWith(".INCLU-")) {
133
+ const postfix = field.FIELDNAME.substring(".INCLU-".length);
134
+ for (const c of found.getComponents()) {
135
+ components.push({ name: c.name + postfix, type: c.type });
136
+ }
137
+ }
133
138
  }
134
139
  else if ((((_a = field.PRECFIELD) === null || _a === void 0 ? void 0 : _a.startsWith("CI_")) || ((_b = field.PRECFIELD) === null || _b === void 0 ? void 0 : _b.startsWith("SI_")))
135
140
  && found instanceof Types.UnknownType) {
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.185";
70
+ return "2.113.187";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.185",
3
+ "version": "2.113.187",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -55,7 +55,7 @@
55
55
  "@types/mocha": "^10.0.10",
56
56
  "@types/node": "^24.3.0",
57
57
  "chai": "^4.5.0",
58
- "eslint": "^9.33.0",
58
+ "eslint": "^9.34.0",
59
59
  "mocha": "^11.7.1",
60
60
  "c8": "^10.1.3",
61
61
  "source-map-support": "^0.5.21",