@abaplint/core 2.92.0 → 2.92.1

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.
@@ -87,7 +87,8 @@ class Procedural {
87
87
  else {
88
88
  found = ddic.lookup(param.type).type;
89
89
  }
90
- if (param.direction === types_1.FunctionModuleParameterDirection.tables) {
90
+ if (param.direction === types_1.FunctionModuleParameterDirection.tables
91
+ && !(found instanceof basic_1.TableType)) {
91
92
  found = new basic_1.TableType(found, { withHeader: true });
92
93
  }
93
94
  if (found instanceof basic_1.UnknownType && ((_a = param.type) === null || _a === void 0 ? void 0 : _a.includes("-"))) {
@@ -34,7 +34,7 @@ class DataElement extends _abstract_object_1.AbstractObject {
34
34
  parseType(reg) {
35
35
  const references = [];
36
36
  let lookup = undefined;
37
- if (this.parsedXML === undefined || this.parsedXML === {}) {
37
+ if (this.parsedXML === undefined) {
38
38
  lookup = { type: new Types.UnknownType("Data Element " + this.getName() + ", parser error") };
39
39
  }
40
40
  else {
@@ -32,7 +32,7 @@ class TableType extends _abstract_object_1.AbstractObject {
32
32
  const ddic = new ddic_1.DDIC(reg);
33
33
  const references = [];
34
34
  let type;
35
- if (this.parsedXML === undefined || this.parsedXML === {}) {
35
+ if (this.parsedXML === undefined) {
36
36
  type = new Types.UnknownType("Table Type, parser error", this.getName());
37
37
  }
38
38
  else if (this.parsedXML.rowkind === "S") {
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.92.0";
70
+ return "2.92.1";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.references;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.92.0",
3
+ "version": "2.92.1",
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
  "c8": "^7.12.0",
56
56
  "source-map-support": "^0.5.21",
57
57
  "ts-json-schema-generator": "^1.0.0",
58
- "typescript": "^4.7.4"
58
+ "typescript": "^4.8.2"
59
59
  },
60
60
  "dependencies": {
61
61
  "fast-xml-parser": "^4.0.9",