@abaplint/transpiler 2.11.27 → 2.11.28

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.
@@ -22,11 +22,11 @@ class CastTranspiler {
22
22
  if (lett !== undefined) {
23
23
  throw new Error("CastTranspiler, Let todo");
24
24
  }
25
- ret.appendString("await abap.statements.cast(")
25
+ ret.appendString("(await abap.statements.cast(")
26
26
  .appendString(target)
27
27
  .appendString(", ")
28
28
  .appendChunk(traversal.traverse(source))
29
- .append(")", node.getLastToken(), traversal);
29
+ .append("))", node.getLastToken(), traversal);
30
30
  return ret;
31
31
  }
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.11.27",
3
+ "version": "2.11.28",
4
4
  "description": "Transpiler",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",