@abaplint/transpiler 2.6.10 → 2.6.12

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.
@@ -36,7 +36,7 @@ class MethodSourceTranspiler {
36
36
  ret.appendString(`if (${call} === undefined) { throw new ${illegalClass}(); }\n`);
37
37
  const name = children[i + 2];
38
38
  if (name.get() instanceof core_1.Expressions.AttributeName) {
39
- const suffix = "." + name.concatTokens().toLowerCase();
39
+ const suffix = "." + name.concatTokens().toLowerCase().replace("~", "$");
40
40
  ret.appendString(`if (${call + suffix} === undefined && ${illegalMethod} === undefined) { throw "CX_SY_DYN_CALL_ILLEGAL_METHOD not found"; }\n`);
41
41
  ret.appendString(`if (${call + suffix} === undefined) { throw new ${illegalMethod}(); }\n`);
42
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.6.10",
3
+ "version": "2.6.12",
4
4
  "description": "Transpiler",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",