@abaplint/transpiler-cli 2.11.52 → 2.11.53
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 +3 -3
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -80766,7 +80766,7 @@ class SourceTranspiler {
|
|
|
80766
80766
|
if (typ.startsWith("new abap.types.DataReference(") === false) {
|
|
80767
80767
|
throw new Error("transpiler: REF # unexpected type");
|
|
80768
80768
|
}
|
|
80769
|
-
ret.append(
|
|
80769
|
+
ret.append(`abap.statements.getReference(${typ}, `, c, traversal);
|
|
80770
80770
|
post.append(")", c, traversal);
|
|
80771
80771
|
}
|
|
80772
80772
|
else if (c instanceof core_1.Nodes.TokenNode && c.getFirstToken().getStr().toUpperCase() === "BIT") { // todo, this will not work in the general case
|
|
@@ -85966,9 +85966,9 @@ class GetReferenceTranspiler {
|
|
|
85966
85966
|
const target = traversal.traverse(t);
|
|
85967
85967
|
return new chunk_1.Chunk()
|
|
85968
85968
|
.appendString("abap.statements.getReference(")
|
|
85969
|
-
.appendChunk(source)
|
|
85970
|
-
.appendString(", ")
|
|
85971
85969
|
.appendChunk(target)
|
|
85970
|
+
.appendString(", ")
|
|
85971
|
+
.appendChunk(source)
|
|
85972
85972
|
.append(");", node.getLastToken(), traversal);
|
|
85973
85973
|
}
|
|
85974
85974
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.53",
|
|
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.113.186",
|
|
31
|
-
"@abaplint/transpiler": "^2.11.
|
|
31
|
+
"@abaplint/transpiler": "^2.11.53",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
33
|
"@types/node": "^24.3.0",
|
|
34
34
|
"@types/progress": "^2.0.7",
|