@abaplint/core 2.113.148 → 2.113.149

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.
@@ -89,8 +89,12 @@ class DataElement extends _abstract_object_1.AbstractObject {
89
89
  references.push({ object: lookup.object });
90
90
  }
91
91
  reg.getDDICReferences().setUsing(this, references);
92
- this.parsedType = lookup.type;
93
- return this.parsedType;
92
+ if (!(lookup.type instanceof Types.UnknownType)) {
93
+ // the referenced type might not exist or contain syntax errors(for CLAS)
94
+ // so dont cache it, expect the user to fix it
95
+ this.parsedType = lookup.type;
96
+ }
97
+ return lookup.type;
94
98
  }
95
99
  parse() {
96
100
  var _a, _b, _c;
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.148";
70
+ return "2.113.149";
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.148",
3
+ "version": "2.113.149",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",