@abaplint/core 2.93.68 → 2.93.70
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.
|
@@ -558,7 +558,7 @@ class BasicTypes {
|
|
|
558
558
|
const id = foo.getIdentifier();
|
|
559
559
|
const type = id instanceof types_1.ClassDefinition ? "CLAS" : "INTF";
|
|
560
560
|
this.scope.addReference(expr.getFirstToken(), id, _reference_1.ReferenceType.ObjectOrientedReference, this.filename, { ooType: type, ooName: id.getName() });
|
|
561
|
-
if (id instanceof types_1.ClassDefinition) {
|
|
561
|
+
if (id instanceof types_1.ClassDefinition || id instanceof types_1.InterfaceDefinition) {
|
|
562
562
|
const byName = new _object_oriented_1.ObjectOriented(this.scope).searchTypeName(id, typeName);
|
|
563
563
|
foundType = byName === null || byName === void 0 ? void 0 : byName.getType();
|
|
564
564
|
if (byName === undefined || foundType === undefined) {
|
|
@@ -81,7 +81,7 @@ class DataDefinition extends _abstract_object_1.AbstractObject {
|
|
|
81
81
|
continue;
|
|
82
82
|
}
|
|
83
83
|
if (c instanceof nodes_1.ExpressionNode) {
|
|
84
|
-
this.parsedData.definitionName = (_b = c.findFirstExpression(expressions_1.CDSName)) === null || _b === void 0 ? void 0 : _b.
|
|
84
|
+
this.parsedData.definitionName = (_b = c.findFirstExpression(expressions_1.CDSName)) === null || _b === void 0 ? void 0 : _b.concatTokens().replace(/ /g, "");
|
|
85
85
|
break;
|
|
86
86
|
}
|
|
87
87
|
}
|
package/build/src/registry.js
CHANGED