@abaplint/transpiler 1.8.16 → 1.8.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.
- package/build/src/traversal.js +2 -2
- package/package.json +1 -1
package/build/src/traversal.js
CHANGED
|
@@ -273,11 +273,11 @@ class Traversal {
|
|
|
273
273
|
}
|
|
274
274
|
// handle aliases after initialization of carrier variables
|
|
275
275
|
for (const a of def.getAliases().getAll()) {
|
|
276
|
-
ret += "this." + a.getName() + " = this." + a.getComponent().replace("~", "$") + ";\n";
|
|
276
|
+
ret += "this." + a.getName().toLowerCase() + " = this." + a.getComponent().replace("~", "$").toLowerCase() + ";\n";
|
|
277
277
|
}
|
|
278
278
|
// constants can be accessed both statically and via reference
|
|
279
279
|
for (const c of def.getAttributes().getConstants()) {
|
|
280
|
-
ret += "this." + c.getName() + " = " + def.getName() + "." + c.getName() + ";\n";
|
|
280
|
+
ret += "this." + c.getName().toLowerCase() + " = " + def.getName().toLowerCase() + "." + c.getName().toLowerCase() + ";\n";
|
|
281
281
|
}
|
|
282
282
|
return ret;
|
|
283
283
|
}
|