@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.getFirstToken().getStr();
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
  }
@@ -63,7 +63,7 @@ class Registry {
63
63
  }
64
64
  static abaplintVersion() {
65
65
  // magic, see build script "version.sh"
66
- return "2.93.68";
66
+ return "2.93.70";
67
67
  }
68
68
  getDDICReferences() {
69
69
  return this.references;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.93.68",
3
+ "version": "2.93.70",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",