@abaplint/runtime 2.3.123 → 2.3.124

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.
@@ -98,10 +98,11 @@ class Table {
98
98
  throw "Table, set error";
99
99
  }
100
100
  this.clear();
101
- for (const a of tab.array()) {
102
- // this clones the values, and add sorting if required
103
- (0, insert_internal_1.insertInternal)({ table: this, data: a });
101
+ if (tab instanceof field_symbol_1.FieldSymbol) {
102
+ tab = tab.getPointer();
104
103
  }
104
+ // this clones the values, and add sorting if required
105
+ (0, insert_internal_1.insertInternal)({ table: this, data: tab, lines: true });
105
106
  }
106
107
  }
107
108
  getHeader() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.3.123",
3
+ "version": "2.3.124",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",