@abaplint/core 2.91.30 → 2.91.31
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/abaplint.d.ts
CHANGED
|
@@ -705,6 +705,7 @@ declare class ChapterOfBookStructure extends AbstractObject {
|
|
|
705
705
|
declare class CharacterType extends AbstractType {
|
|
706
706
|
private readonly length;
|
|
707
707
|
constructor(length: number, qualifiedName?: string);
|
|
708
|
+
cloneType(qualifiedName?: string): CharacterType;
|
|
708
709
|
getLength(): number;
|
|
709
710
|
toText(): string;
|
|
710
711
|
toABAP(): string;
|
|
@@ -164,17 +164,20 @@ class BasicTypes {
|
|
|
164
164
|
}
|
|
165
165
|
return type;
|
|
166
166
|
}
|
|
167
|
-
resolveTypeName(typeName, length, decimals,
|
|
167
|
+
resolveTypeName(typeName, length, decimals, qualifiedName) {
|
|
168
168
|
var _a;
|
|
169
169
|
if (typeName === undefined) {
|
|
170
170
|
return undefined;
|
|
171
171
|
}
|
|
172
|
-
|
|
172
|
+
let chain = this.resolveTypeChain(typeName);
|
|
173
173
|
if (chain) {
|
|
174
|
+
if (chain instanceof basic_1.CharacterType && qualifiedName) {
|
|
175
|
+
chain = chain.cloneType(qualifiedName);
|
|
176
|
+
}
|
|
174
177
|
return chain;
|
|
175
178
|
}
|
|
176
179
|
const chainText = typeName.concatTokens().toUpperCase();
|
|
177
|
-
const f = this.scope.getDDIC().lookupBuiltinType(chainText, length, decimals,
|
|
180
|
+
const f = this.scope.getDDIC().lookupBuiltinType(chainText, length, decimals, qualifiedName);
|
|
178
181
|
if (f !== undefined) {
|
|
179
182
|
return f;
|
|
180
183
|
}
|
package/build/src/registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.91.
|
|
3
|
+
"version": "2.91.31",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"@microsoft/api-extractor": "^7.29.2",
|
|
49
49
|
"@types/chai": "^4.3.3",
|
|
50
50
|
"@types/mocha": "^9.1.1",
|
|
51
|
-
"@types/node": "^18.7.
|
|
51
|
+
"@types/node": "^18.7.3",
|
|
52
52
|
"chai": "^4.3.6",
|
|
53
|
-
"eslint": "^8.
|
|
53
|
+
"eslint": "^8.22.0",
|
|
54
54
|
"mocha": "^10.0.0",
|
|
55
55
|
"c8": "^7.12.0",
|
|
56
56
|
"source-map-support": "^0.5.21",
|