@abaplint/cli 2.113.190 → 2.113.192

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 -2
  2. package/package.json +4 -4
package/build/cli.js CHANGED
@@ -7917,7 +7917,7 @@ class Source extends combi_1.Expression {
7917
7917
  const old = (0, combi_1.seq)((0, combi_1.optPrio)(prefix), (0, combi_1.altPrio)(_1.Constant, _1.StringTemplate, text_element_1.TextElement, bool, method, (0, combi_1.seq)(_1.FieldChain, deref), paren), (0, combi_1.optPrio)(after));
7918
7918
  const corr = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.seq)("CORRESPONDING", _1.TypeNameOrInfer, (0, combi_1.tok)(tokens_1.ParenLeftW), _1.CorrespondingBody, rparen, (0, combi_1.optPrio)(after)), version_1.Version.OpenABAP);
7919
7919
  const conv = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("CONV", _1.TypeNameOrInfer, lparenNoSpace, _1.ConvBody, rparenNoSpace, (0, combi_1.optPrio)(after)), version_1.Version.OpenABAP);
7920
- const swit = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("SWITCH", _1.TypeNameOrInfer, (0, combi_1.tok)(tokens_1.ParenLeftW), _1.SwitchBody, rparenNoSpace, (0, combi_1.optPrio)(after)));
7920
+ const swit = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("SWITCH", _1.TypeNameOrInfer, (0, combi_1.tok)(tokens_1.ParenLeftW), _1.SwitchBody, rparenNoSpace, (0, combi_1.optPrio)(after)), version_1.Version.OpenABAP);
7921
7921
  const value = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("VALUE", _1.TypeNameOrInfer, (0, combi_1.tok)(tokens_1.ParenLeftW), _1.ValueBody, rparenNoSpace, (0, combi_1.optPrio)(after)), version_1.Version.OpenABAP);
7922
7922
  const cond = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("COND", _1.TypeNameOrInfer, (0, combi_1.tok)(tokens_1.ParenLeftW), _1.CondBody, rparenNoSpace, (0, combi_1.optPrio)(after)), version_1.Version.OpenABAP);
7923
7923
  const reff = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("REF", _1.TypeNameOrInfer, (0, combi_1.tok)(tokens_1.ParenLeftW), Source, (0, combi_1.optPrio)("OPTIONAL"), rparen), version_1.Version.OpenABAP);
@@ -54955,7 +54955,7 @@ class Registry {
54955
54955
  }
54956
54956
  static abaplintVersion() {
54957
54957
  // magic, see build script "version.sh"
54958
- return "2.113.190";
54958
+ return "2.113.192";
54959
54959
  }
54960
54960
  getDDICReferences() {
54961
54961
  return this.ddicReferences;
@@ -63048,6 +63048,10 @@ ${indentation} output = ${uniqueName}.\n`;
63048
63048
  const foo = cdef.getType();
63049
63049
  if (foo instanceof basic_1.ObjectReferenceType) {
63050
63050
  cdef = spag === null || spag === void 0 ? void 0 : spag.findClassDefinition(foo.getQualifiedName());
63051
+ if (cdef === undefined) {
63052
+ const cglobal = this.highReg.getObject("CLAS", foo.getQualifiedName());
63053
+ cdef = cglobal === null || cglobal === void 0 ? void 0 : cglobal.getDefinition();
63054
+ }
63051
63055
  }
63052
63056
  else {
63053
63057
  throw new Error("newParameters, downport, unexpected");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.190",
3
+ "version": "2.113.192",
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.190",
41
+ "@abaplint/core": "^2.113.192",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",
@@ -50,9 +50,9 @@
50
50
  "eslint": "^9.34.0",
51
51
  "glob": "^11.0.3",
52
52
  "json5": "^2.2.3",
53
- "memfs": "^4.38.1",
53
+ "memfs": "^4.38.2",
54
54
  "minimist": "^1.2.8",
55
- "mocha": "^11.7.1",
55
+ "mocha": "^11.7.2",
56
56
  "progress": "^2.0.3",
57
57
  "typescript": "^5.9.2",
58
58
  "webpack": "^5.101.3",