@abaplint/core 2.113.189 → 2.113.191

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.
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.189";
70
+ return "2.113.191";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
@@ -3005,7 +3005,11 @@ ${indentation} output = ${uniqueName}.\n`;
3005
3005
  if (cdef instanceof _typed_identifier_1.TypedIdentifier) {
3006
3006
  const foo = cdef.getType();
3007
3007
  if (foo instanceof basic_1.ObjectReferenceType) {
3008
- cdef = foo.getIdentifier();
3008
+ cdef = spag === null || spag === void 0 ? void 0 : spag.findClassDefinition(foo.getQualifiedName());
3009
+ if (cdef === undefined) {
3010
+ const cglobal = this.highReg.getObject("CLAS", foo.getQualifiedName());
3011
+ cdef = cglobal === null || cglobal === void 0 ? void 0 : cglobal.getDefinition();
3012
+ }
3009
3013
  }
3010
3014
  else {
3011
3015
  throw new Error("newParameters, downport, unexpected");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.189",
3
+ "version": "2.113.191",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",