@abaplint/transpiler-cli 2.7.59 → 2.7.60
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 -2
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -73929,7 +73929,7 @@ class CallFunctionTranspiler {
|
|
|
73929
73929
|
else if (calling) {
|
|
73930
73930
|
param = param.replace("{", ",").replace(/}$/, "");
|
|
73931
73931
|
// typically used in combination with STARTING NEW TASK so dont await,
|
|
73932
|
-
ret.appendString(`abap.statements.callFunction({name:${fmname},calling:this
|
|
73932
|
+
ret.appendString(`abap.statements.callFunction({name:${fmname},calling:this.${calling.concatTokens().toLowerCase()}${param}});`);
|
|
73933
73933
|
}
|
|
73934
73934
|
else {
|
|
73935
73935
|
const illegalFunc = traversal.lookupClassOrInterface("'CX_SY_DYN_CALL_ILLEGAL_FUNC'", node.getFirstToken(), true);
|
|
@@ -77381,9 +77381,10 @@ class ReceiveTranspiler {
|
|
|
77381
77381
|
const fmp = node.findDirectExpression(abaplint.Expressions.ReceiveParameters);
|
|
77382
77382
|
if (fmp) {
|
|
77383
77383
|
param = traversal.traverse(fmp).getCode();
|
|
77384
|
+
param = param.replace("{", ",").replace(/}$/, "");
|
|
77384
77385
|
}
|
|
77385
77386
|
const ret = new chunk_1.Chunk();
|
|
77386
|
-
ret.appendString(`abap.statements.receive({name:${fmname}
|
|
77387
|
+
ret.appendString(`abap.statements.receive({name:${fmname}${param}});`);
|
|
77387
77388
|
return ret;
|
|
77388
77389
|
}
|
|
77389
77390
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.60",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"author": "abaplint",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@abaplint/transpiler": "^2.7.
|
|
29
|
+
"@abaplint/transpiler": "^2.7.60",
|
|
30
30
|
"@types/glob": "^7.2.0",
|
|
31
31
|
"glob": "=7.2.0",
|
|
32
32
|
"@types/progress": "^2.0.5",
|