@abaplint/transpiler 2.8.12 → 2.8.14

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.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TranspileTypes = void 0;
4
4
  const abaplint = require("@abaplint/core");
5
+ const featureHexUInt8 = false;
5
6
  // todo: change this class to static for performance?
6
7
  class TranspileTypes {
7
8
  declare(t) {
@@ -162,7 +163,7 @@ class TranspileTypes {
162
163
  resolved = "Hex";
163
164
  }
164
165
  else if (type instanceof abaplint.BasicTypes.HexType) {
165
- resolved = "Hex";
166
+ resolved = featureHexUInt8 ? "HexUInt8" : "Hex";
166
167
  if (type.getLength() !== 1) {
167
168
  extra = "{length: " + type.getLength() + "}";
168
169
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.8.12",
3
+ "version": "2.8.14",
4
4
  "description": "Transpiler",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",