@abaplint/transpiler-cli 2.13.44 → 2.13.45
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/bundle.js +6 -1
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -104126,7 +104126,12 @@ class SourceTranspiler {
|
|
|
104126
104126
|
ret = new chunk_1.Chunk().appendString("(").appendChunk(ret).appendString(").dereference()");
|
|
104127
104127
|
}
|
|
104128
104128
|
else if (c.get() instanceof core_1.Expressions.TextElement) {
|
|
104129
|
-
|
|
104129
|
+
const key = c.findFirstExpression(core_1.Expressions.TextElementKey)?.concatTokens().toUpperCase();
|
|
104130
|
+
const textSymbol = key === undefined
|
|
104131
|
+
? undefined
|
|
104132
|
+
: traversal.getCurrentObject().getTextSymbols()[key]?.entry;
|
|
104133
|
+
const value = textSymbol ?? c.concatTokens();
|
|
104134
|
+
ret = new chunk_1.Chunk().appendString(`new abap.types.String().set(${JSON.stringify(value)})`);
|
|
104130
104135
|
}
|
|
104131
104136
|
else if (c.get() instanceof core_1.Expressions.TypeNameOrInfer) {
|
|
104132
104137
|
continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.45",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@abaplint/core": "^2.120.5",
|
|
31
|
-
"@abaplint/transpiler": "^2.13.
|
|
31
|
+
"@abaplint/transpiler": "^2.13.45",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
33
|
"@types/node": "^24.12.2",
|
|
34
34
|
"@types/progress": "^2.0.7",
|