@abaplint/transpiler 2.6.28 → 2.6.29
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.
|
@@ -75,7 +75,8 @@ class AssignTranspiler {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
else if ((first === null || first === void 0 ? void 0 : first.get()) instanceof abaplint.Expressions.Source && first instanceof abaplint.Nodes.ExpressionNode) {
|
|
78
|
-
const name = first.concatTokens().toLowerCase();
|
|
78
|
+
// const name = first.concatTokens().toLowerCase();
|
|
79
|
+
const name = new expressions_1.SourceTranspiler().transpile(first, traversal).getCode();
|
|
79
80
|
options.push(`dynamicSource: (() => {
|
|
80
81
|
try { return ${name}; } catch {}
|
|
81
82
|
try { return this.${name}; } catch {}
|