@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.
package/build/src/registry.js
CHANGED
|
@@ -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.
|
|
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");
|