@abaplint/core 2.93.58 → 2.93.59
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.
|
@@ -96,7 +96,7 @@ class Procedural {
|
|
|
96
96
|
found = new basic_1.TableType(found, { withHeader: true });
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
if (found instanceof basic_1.UnknownType && ((_a = param.type) === null || _a === void 0 ? void 0 : _a.includes("-"))) {
|
|
99
|
+
if ((found instanceof basic_1.UnknownType || found instanceof basic_1.VoidType) && ((_a = param.type) === null || _a === void 0 ? void 0 : _a.includes("-"))) {
|
|
100
100
|
const [name, field] = param.type.split("-");
|
|
101
101
|
const f = ddic.lookupTableOrView(name).type;
|
|
102
102
|
if (f && f instanceof basic_1.StructureType) {
|
|
@@ -106,7 +106,7 @@ class Procedural {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
else if (found instanceof basic_1.UnknownType && ((_b = param.type) === null || _b === void 0 ? void 0 : _b.includes("=>"))) {
|
|
109
|
+
else if ((found instanceof basic_1.UnknownType || found instanceof basic_1.VoidType) && ((_b = param.type) === null || _b === void 0 ? void 0 : _b.includes("=>"))) {
|
|
110
110
|
const [name, field] = param.type.split("=>");
|
|
111
111
|
const def = this.scope.findObjectDefinition(name);
|
|
112
112
|
const c = new _object_oriented_1.ObjectOriented(this.scope).searchTypeName(def, field);
|
package/build/src/registry.js
CHANGED