@abaplint/core 2.88.5 → 2.88.6

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.
@@ -4,6 +4,7 @@ exports.BasicTypes = void 0;
4
4
  /* eslint-disable default-case */
5
5
  const _typed_identifier_1 = require("../types/_typed_identifier");
6
6
  const Expressions = require("../2_statements/expressions");
7
+ const Statements = require("../2_statements/statements");
7
8
  const Types = require("../types/basic");
8
9
  const _scope_type_1 = require("./_scope_type");
9
10
  const _object_oriented_1 = require("./_object_oriented");
@@ -200,14 +201,16 @@ class BasicTypes {
200
201
  name = new identifier_1.Identifier(name.getStart(), nameExpr.concatTokens());
201
202
  }
202
203
  let qualifiedName = undefined;
203
- if (this.scope.isTypePool() === true) {
204
- qualifiedName = name.getStr();
205
- }
206
- else {
207
- qualifiedName = name.getStr();
208
- if (this.scope.getType() === _scope_type_1.ScopeType.ClassDefinition
209
- || this.scope.getType() === _scope_type_1.ScopeType.Interface) {
210
- qualifiedName = this.scope.getName() + "=>" + qualifiedName;
204
+ if (node.get() instanceof Statements.Type) {
205
+ if (this.scope.isTypePool() === true) {
206
+ qualifiedName = name.getStr();
207
+ }
208
+ else {
209
+ qualifiedName = name.getStr();
210
+ if (this.scope.getType() === _scope_type_1.ScopeType.ClassDefinition
211
+ || this.scope.getType() === _scope_type_1.ScopeType.Interface) {
212
+ qualifiedName = this.scope.getName() + "=>" + qualifiedName;
213
+ }
211
214
  }
212
215
  }
213
216
  const found = this.parseType(node, qualifiedName);
@@ -68,7 +68,7 @@ class Registry {
68
68
  }
69
69
  static abaplintVersion() {
70
70
  // magic, see build script "version.sh"
71
- return "2.88.5";
71
+ return "2.88.6";
72
72
  }
73
73
  getDDICReferences() {
74
74
  return this.references;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.88.5",
3
+ "version": "2.88.6",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",