@abaplint/core 2.113.181 → 2.113.182
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.
|
@@ -88,7 +88,6 @@ class MethodCallParam {
|
|
|
88
88
|
new method_parameters_1.MethodParameters().runSyntax(child, input, method);
|
|
89
89
|
}
|
|
90
90
|
else {
|
|
91
|
-
// console.dir(child);
|
|
92
91
|
const message = "MethodCallParam, unexpected child";
|
|
93
92
|
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
|
|
94
93
|
return;
|
|
@@ -207,9 +207,13 @@ class MethodParameters {
|
|
|
207
207
|
for (const i of method.getParameters().getImporting()) {
|
|
208
208
|
if (i.getName().toUpperCase() === name) {
|
|
209
209
|
targetType = i.getType();
|
|
210
|
+
break;
|
|
210
211
|
}
|
|
211
212
|
}
|
|
212
213
|
}
|
|
214
|
+
else {
|
|
215
|
+
targetType = method;
|
|
216
|
+
}
|
|
213
217
|
let sourceType = source_1.Source.runSyntax(source, input, targetType);
|
|
214
218
|
if (sourceType === undefined) {
|
|
215
219
|
if (method instanceof basic_1.VoidType) {
|
package/build/src/registry.js
CHANGED