@abaplint/transpiler-cli 2.5.36 → 2.5.38
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
|
@@ -73710,7 +73710,12 @@ class MethodImplementationTranspiler {
|
|
|
73710
73710
|
else {
|
|
73711
73711
|
throw new Error("MethodImplementationTranspiler, unknown default param type");
|
|
73712
73712
|
}
|
|
73713
|
-
|
|
73713
|
+
if (identifier.getMeta().includes("pass_by_value" /* abaplint.IdentifierMeta.PassByValue */)) {
|
|
73714
|
+
after += "if (" + unique + " === undefined || " + unique + "." + varName + " === undefined) {" + varName + ".set(" + val + ");}\n";
|
|
73715
|
+
}
|
|
73716
|
+
else {
|
|
73717
|
+
after += "if (" + unique + " === undefined || " + unique + "." + varName + " === undefined) {" + varName + " = " + val + ";}\n";
|
|
73718
|
+
}
|
|
73714
73719
|
}
|
|
73715
73720
|
}
|
|
73716
73721
|
else if (identifier.getMeta().includes("returning" /* abaplint.IdentifierMeta.MethodReturning */)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.38",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"bin": {
|
|
6
6
|
"abap_transpile": "./abap_transpile"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"author": "abaplint",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@abaplint/transpiler": "^2.5.
|
|
28
|
+
"@abaplint/transpiler": "^2.5.38",
|
|
29
29
|
"@types/glob": "^7.2.0",
|
|
30
30
|
"glob": "=7.2.0",
|
|
31
31
|
"@types/progress": "^2.0.5",
|