@abaplint/transpiler 2.0.68 → 2.0.69

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.
@@ -32,12 +32,7 @@ class FieldLengthTranspiler {
32
32
  }
33
33
  }
34
34
  }
35
- if (/^\d+$/.test(ret)) {
36
- return new chunk_1.Chunk(ret);
37
- }
38
- else {
39
- return new chunk_1.Chunk(ret + ".get()");
40
- }
35
+ return new chunk_1.Chunk(ret);
41
36
  }
42
37
  }
43
38
  exports.FieldLengthTranspiler = FieldLengthTranspiler;
@@ -32,12 +32,7 @@ class FieldOffsetTranspiler {
32
32
  }
33
33
  }
34
34
  }
35
- if (/^\d+$/.test(ret)) {
36
- return new chunk_1.Chunk(ret);
37
- }
38
- else {
39
- return new chunk_1.Chunk(ret + ".get()");
40
- }
35
+ return new chunk_1.Chunk(ret);
41
36
  }
42
37
  }
43
38
  exports.FieldOffsetTranspiler = FieldOffsetTranspiler;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.0.68",
3
+ "version": "2.0.69",
4
4
  "description": "Transpiler",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",