@abaplint/transpiler 2.5.29 → 2.5.31

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.
@@ -10,7 +10,7 @@ class PerformTranspiler {
10
10
  return new chunk_1.Chunk(`throw new Error("PerformTranspiler FormName not found");`);
11
11
  }
12
12
  // todo, parameters
13
- if (node.concatTokens().includes(" IN PROGRAM ")) {
13
+ if (node.concatTokens().toUpperCase().includes(" IN PROGRAM ")) {
14
14
  return new chunk_1.Chunk(`throw new Error("PerformTranspiler IN PROGRAM, transpiler todo");`);
15
15
  }
16
16
  return new chunk_1.Chunk("await " + formName.concatTokens() + "();");
@@ -79,6 +79,12 @@ class TranspileTypes {
79
79
  if (type.getQualifiedName() !== undefined) {
80
80
  extra += ", \"" + type.getQualifiedName() + "\"";
81
81
  }
82
+ else {
83
+ extra += ", undefined";
84
+ }
85
+ if (type.getDDICName() !== undefined) {
86
+ extra += ", \"" + type.getQualifiedName() + "\"";
87
+ }
82
88
  }
83
89
  else if (type instanceof abaplint.BasicTypes.CLikeType
84
90
  || type instanceof abaplint.BasicTypes.CSequenceType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.5.29",
3
+ "version": "2.5.31",
4
4
  "description": "Transpiler",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "author": "abaplint",
29
29
  "license": "MIT",
30
30
  "dependencies": {
31
- "@abaplint/core": "^2.95.38",
31
+ "@abaplint/core": "^2.95.41",
32
32
  "source-map": "^0.7.4"
33
33
  },
34
34
  "devDependencies": {