@abaplint/transpiler-cli 2.6.10 → 2.6.11

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.
Files changed (2) hide show
  1. package/build/bundle.js +1 -1
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -68848,7 +68848,7 @@ class MethodSourceTranspiler {
68848
68848
  ret.appendString(`if (${call} === undefined) { throw new ${illegalClass}(); }\n`);
68849
68849
  const name = children[i + 2];
68850
68850
  if (name.get() instanceof core_1.Expressions.AttributeName) {
68851
- const suffix = "." + name.concatTokens().toLowerCase();
68851
+ const suffix = "." + name.concatTokens().toLowerCase().replace("~", "$");
68852
68852
  ret.appendString(`if (${call + suffix} === undefined && ${illegalMethod} === undefined) { throw "CX_SY_DYN_CALL_ILLEGAL_METHOD not found"; }\n`);
68853
68853
  ret.appendString(`if (${call + suffix} === undefined) { throw new ${illegalMethod}(); }\n`);
68854
68854
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.6.10",
3
+ "version": "2.6.11",
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.6.10",
28
+ "@abaplint/transpiler": "^2.6.11",
29
29
  "@types/glob": "^7.2.0",
30
30
  "glob": "=7.2.0",
31
31
  "@types/progress": "^2.0.5",