@abaplint/transpiler-cli 2.6.37 → 2.6.38

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 +7 -0
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -75021,6 +75021,13 @@ class RaiseTranspiler {
75021
75021
  if (parameters) {
75022
75022
  p = traversal.traverse(parameters).getCode();
75023
75023
  }
75024
+ const extra = `"INTERNAL_FILENAME": "${traversal.getFilename()}","INTERNAL_LINE": ${node.getStart().getRow()}`;
75025
+ if (p === "") {
75026
+ p = "{" + extra + "}";
75027
+ }
75028
+ else {
75029
+ p = p.substring(0, p.length - 1) + "," + extra + "}";
75030
+ }
75024
75031
  const look = traversal.lookupClassOrInterface(classNameToken === null || classNameToken === void 0 ? void 0 : classNameToken.getStr(), classNameToken);
75025
75032
  return new chunk_1.Chunk().append(`throw await (new ${look}()).constructor_(${p});`, node, traversal);
75026
75033
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.6.37",
3
+ "version": "2.6.38",
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.37",
28
+ "@abaplint/transpiler": "^2.6.38",
29
29
  "@types/glob": "^7.2.0",
30
30
  "glob": "=7.2.0",
31
31
  "@types/progress": "^2.0.5",