@abaplint/transpiler-cli 2.11.20 → 2.11.21

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 +5 -1
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -81197,7 +81197,7 @@ class ValueBodyTranspiler {
81197
81197
  ret.appendString(new value_body_line_1.ValueBodyLineTranspiler().transpile(rowType, child, traversal, extraFields).getCode());
81198
81198
  }
81199
81199
  else {
81200
- throw new Error("ValueBodyTranspiler, unknown " + child.get().constructor.name);
81200
+ throw new Error("ValueBodyTranspiler, unknown " + child.get().constructor.name + " " + child.concatTokens());
81201
81201
  }
81202
81202
  }
81203
81203
  return ret;
@@ -90626,6 +90626,10 @@ this.INTERNAL_ID = abap.internalIdCounter++;\n`;
90626
90626
  if (view) {
90627
90627
  return view.parseType(this.reg);
90628
90628
  }
90629
+ const ttyp = this.reg.getObject("TTYP", name);
90630
+ if (ttyp) {
90631
+ return ttyp.parseType(this.reg);
90632
+ }
90629
90633
  if (name.includes("=>")) {
90630
90634
  const [className, typeName] = name.split("=>");
90631
90635
  const cls = this.findClassDefinition(className, scope);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.11.20",
3
+ "version": "2.11.21",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -28,7 +28,7 @@
28
28
  "license": "MIT",
29
29
  "devDependencies": {
30
30
  "@abaplint/core": "^2.113.166",
31
- "@abaplint/transpiler": "^2.11.20",
31
+ "@abaplint/transpiler": "^2.11.21",
32
32
  "@types/glob": "^8.1.0",
33
33
  "@types/node": "^24.2.1",
34
34
  "@types/progress": "^2.0.7",