@abaplint/core 2.102.49 → 2.102.51

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.
@@ -102,7 +102,7 @@ class Select {
102
102
  let type = new basic_1.VoidType("SELECT_todo");
103
103
  if (dbType instanceof basic_1.StructureType) {
104
104
  type = dbType.getComponentByName(field.code);
105
- if (type) {
105
+ if (type === undefined) {
106
106
  throw new Error(`handleInto, internal error, should be checked earlier`);
107
107
  }
108
108
  }
@@ -65,7 +65,7 @@ class Registry {
65
65
  }
66
66
  static abaplintVersion() {
67
67
  // magic, see build script "version.sh"
68
- return "2.102.49";
68
+ return "2.102.51";
69
69
  }
70
70
  getDDICReferences() {
71
71
  return this.ddicReferences;
@@ -2384,6 +2384,9 @@ ${indentation} output = ${uniqueName}.\n`;
2384
2384
  else if (found.getType() instanceof basic_1.VoidType && found.getType().getQualifiedName() === undefined) {
2385
2385
  continue;
2386
2386
  }
2387
+ else if (found.getType() instanceof basic_1.StructureType && found.getType().getQualifiedName() === undefined) {
2388
+ continue;
2389
+ }
2387
2390
  let type = found.getType().getQualifiedName()
2388
2391
  ? (_b = found.getType().getQualifiedName()) === null || _b === void 0 ? void 0 : _b.toLowerCase()
2389
2392
  : found.getType().toABAP();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.102.49",
3
+ "version": "2.102.51",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -53,7 +53,7 @@
53
53
  "@microsoft/api-extractor": "^7.37.1",
54
54
  "@types/chai": "^4.3.6",
55
55
  "@types/mocha": "^10.0.2",
56
- "@types/node": "^20.7.0",
56
+ "@types/node": "^20.7.1",
57
57
  "chai": "^4.3.9",
58
58
  "eslint": "^8.50.0",
59
59
  "mocha": "^10.2.0",