@abaplint/core 2.86.0 → 2.86.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.
@@ -68,7 +68,7 @@ class Registry {
68
68
  }
69
69
  static abaplintVersion() {
70
70
  // magic, see build script "version.sh"
71
- return "2.86.0";
71
+ return "2.86.1";
72
72
  }
73
73
  getDDICReferences() {
74
74
  return this.references;
@@ -1279,6 +1279,9 @@ ${indentation} output = ${topTarget}.`;
1279
1279
  }
1280
1280
  const uniqueName = this.uniqueName(i.getFirstToken().getStart(), lowFile.getFilename(), highSyntax);
1281
1281
  const type = this.findType(i, lowFile, highSyntax);
1282
+ if (type === undefined) {
1283
+ continue;
1284
+ }
1282
1285
  const indent = " ".repeat(node.getFirstToken().getStart().getCol() - 1);
1283
1286
  const bodyCode = this.buildCondBody(body, uniqueName, indent, lowFile, highSyntax);
1284
1287
  const abap = `DATA ${uniqueName} TYPE ${type}.\n` + bodyCode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.86.0",
3
+ "version": "2.86.1",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",