@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 (
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
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);
|
package/build/src/registry.js
CHANGED