@abaplint/cli 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.
Files changed (2) hide show
  1. package/build/cli.js +7 -3
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -48397,8 +48397,12 @@ class DataElement extends _abstract_object_1.AbstractObject {
48397
48397
  references.push({ object: lookup.object });
48398
48398
  }
48399
48399
  reg.getDDICReferences().setUsing(this, references);
48400
- this.parsedType = lookup.type;
48401
- return this.parsedType;
48400
+ if (!(lookup.type instanceof Types.UnknownType)) {
48401
+ // the referenced type might not exist or contain syntax errors(for CLAS)
48402
+ // so dont cache it, expect the user to fix it
48403
+ this.parsedType = lookup.type;
48404
+ }
48405
+ return lookup.type;
48402
48406
  }
48403
48407
  parse() {
48404
48408
  var _a, _b, _c;
@@ -54673,7 +54677,7 @@ class Registry {
54673
54677
  }
54674
54678
  static abaplintVersion() {
54675
54679
  // magic, see build script "version.sh"
54676
- return "2.113.148";
54680
+ return "2.113.149";
54677
54681
  }
54678
54682
  getDDICReferences() {
54679
54683
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.148",
3
+ "version": "2.113.149",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.148",
41
+ "@abaplint/core": "^2.113.149",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",