@abaplint/core 2.119.6 → 2.119.8
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.
|
@@ -435,6 +435,10 @@ class TypeUtils {
|
|
|
435
435
|
// then its a generic table, todo: add top level generic table type?
|
|
436
436
|
return true;
|
|
437
437
|
}
|
|
438
|
+
else if (target instanceof basic_1.TableType && target.getRowType() instanceof basic_1.AnyType) {
|
|
439
|
+
// then its a generic table, todo: add top level generic table type?
|
|
440
|
+
return true;
|
|
441
|
+
}
|
|
438
442
|
else if (target instanceof basic_1.TableType) {
|
|
439
443
|
const sourceKeyType = source.getOptions().keyType;
|
|
440
444
|
const targetKeyType = target.getOptions().keyType;
|
|
@@ -342,7 +342,7 @@ class Select {
|
|
|
342
342
|
if (type === undefined) {
|
|
343
343
|
return basic_1.VoidType.get("SELECT_todo6");
|
|
344
344
|
}
|
|
345
|
-
components.push({ name: field.code, type });
|
|
345
|
+
components.push({ name: field.as || field.code, type });
|
|
346
346
|
}
|
|
347
347
|
return new basic_1.TableType(new basic_1.StructureType(components), tableOptions, undefined);
|
|
348
348
|
}
|
package/build/src/registry.js
CHANGED