@abaplint/runtime 2.3.94 → 2.3.95

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.
@@ -33,6 +33,9 @@ function readTable(table, options) {
33
33
  }
34
34
  }
35
35
  else if (options === null || options === void 0 ? void 0 : options.from) {
36
+ if (options.from instanceof types_1.FieldSymbol) {
37
+ options.from = options.from.getPointer();
38
+ }
36
39
  if (table instanceof types_1.Table && options.from instanceof types_1.Structure) {
37
40
  const keys = (_b = (_a = table.getOptions()) === null || _a === void 0 ? void 0 : _a.primaryKey) === null || _b === void 0 ? void 0 : _b.keyFields;
38
41
  const isStructured = arr[0] instanceof types_1.Structure;
@@ -49,7 +52,7 @@ function readTable(table, options) {
49
52
  }
50
53
  }
51
54
  if (matches === true) {
52
- found = arr;
55
+ found = a;
53
56
  break;
54
57
  }
55
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.3.94",
3
+ "version": "2.3.95",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",