@abaplint/runtime 2.7.30 → 2.7.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.
@@ -68,11 +68,12 @@ function describe(input) {
68
68
  if (input.length) {
69
69
  if (input.field instanceof types_1.Character
70
70
  || input.field instanceof types_1.Packed
71
+ || input.field instanceof types_1.Numc
71
72
  || input.field instanceof types_1.Hex) {
72
73
  input.length.set(input.field.getLength());
73
74
  }
74
75
  else {
75
- throw new Error("DESCRIBE length, unsupported or todo");
76
+ throw new Error("DESCRIBE length, unsupported or todo, " + input.field.constructor.name);
76
77
  }
77
78
  }
78
79
  if (input.decimals) {
@@ -80,7 +81,7 @@ function describe(input) {
80
81
  input.decimals.set(input.field.getDecimals());
81
82
  }
82
83
  else {
83
- throw new Error("DESCRIBE decimals, unsupported or todo");
84
+ throw new Error("DESCRIBE decimals, unsupported or todo, " + input.field.constructor.name);
84
85
  }
85
86
  }
86
87
  if (input.table) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.7.30",
3
+ "version": "2.7.31",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",