@abaplint/transpiler 2.2.16 → 2.2.17
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.
|
@@ -65,6 +65,9 @@ class MethodImplementationTranspiler {
|
|
|
65
65
|
else if (parameterDefault.getFirstToken().getStr().toLowerCase() === "space") {
|
|
66
66
|
val = "abap.builtin.space";
|
|
67
67
|
}
|
|
68
|
+
else if (parameterDefault.concatTokens().toLowerCase() === "sy-uname") {
|
|
69
|
+
val = "abap.builtin.sy.get().uname";
|
|
70
|
+
}
|
|
68
71
|
else {
|
|
69
72
|
// note: this can be difficult, the "def" might be from an interface, ie. a different scope than the method
|
|
70
73
|
val = new expressions_1.FieldChainTranspiler().transpile(parameterDefault, traversal, true, methodDef === null || methodDef === void 0 ? void 0 : methodDef.getFilename()).getCode();
|