@abaplint/cli 2.113.32 → 2.113.33

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 +6 -5
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -41282,10 +41282,10 @@ class DDIC {
41282
41282
  return { type: new Types.VoidType(name) };
41283
41283
  }
41284
41284
  }
41285
- lookupDomain(name, dataElement) {
41285
+ lookupDomain(name, dataElement, description) {
41286
41286
  const found = this.reg.getObject("DOMA", name);
41287
41287
  if (found) {
41288
- return { type: found.parseType(this.reg, dataElement), object: found };
41288
+ return { type: found.parseType(this.reg, dataElement, description), object: found };
41289
41289
  }
41290
41290
  else if (this.reg.inErrorNamespace(name)) {
41291
41291
  return { type: new Types.UnknownType(name + ", lookupDomain"), object: undefined };
@@ -46815,7 +46815,7 @@ class DataElement extends _abstract_object_1.AbstractObject {
46815
46815
  lookup = { type: new Types.UnknownType("DOMNAME unexpectely empty in " + this.getName()) };
46816
46816
  }
46817
46817
  else {
46818
- lookup = ddic.lookupDomain(this.parsedXML.domname, this.getName());
46818
+ lookup = ddic.lookupDomain(this.parsedXML.domname, this.getName(), this.getDescription());
46819
46819
  }
46820
46820
  }
46821
46821
  else if (this.parsedXML.refkind === "R") {
@@ -46983,7 +46983,7 @@ class Domain extends _abstract_object_1.AbstractObject {
46983
46983
  this.parsedXML = undefined;
46984
46984
  super.setDirty();
46985
46985
  }
46986
- parseType(reg, dataElement) {
46986
+ parseType(reg, dataElement, description) {
46987
46987
  // dont cache the DOMA parsed type, they are cached on DTEL level
46988
46988
  // also note that the type carries the name of the DTEL
46989
46989
  if (this.parsedXML === undefined) {
@@ -47001,6 +47001,7 @@ class Domain extends _abstract_object_1.AbstractObject {
47001
47001
  qualifiedName: dataElement,
47002
47002
  conversionExit: this.parsedXML.conversionExit,
47003
47003
  ddicName: dataElement,
47004
+ description: description,
47004
47005
  });
47005
47006
  }
47006
47007
  parse() {
@@ -52893,7 +52894,7 @@ class Registry {
52893
52894
  }
52894
52895
  static abaplintVersion() {
52895
52896
  // magic, see build script "version.sh"
52896
- return "2.113.32";
52897
+ return "2.113.33";
52897
52898
  }
52898
52899
  getDDICReferences() {
52899
52900
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.32",
3
+ "version": "2.113.33",
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.32",
41
+ "@abaplint/core": "^2.113.33",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",