@abaplint/cli 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.
Files changed (2) hide show
  1. package/build/cli.js +5 -2
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -26907,7 +26907,6 @@ class MethodCallParam {
26907
26907
  new method_parameters_1.MethodParameters().runSyntax(child, input, method);
26908
26908
  }
26909
26909
  else {
26910
- // console.dir(child);
26911
26910
  const message = "MethodCallParam, unexpected child";
26912
26911
  input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
26913
26912
  return;
@@ -27234,9 +27233,13 @@ class MethodParameters {
27234
27233
  for (const i of method.getParameters().getImporting()) {
27235
27234
  if (i.getName().toUpperCase() === name) {
27236
27235
  targetType = i.getType();
27236
+ break;
27237
27237
  }
27238
27238
  }
27239
27239
  }
27240
+ else {
27241
+ targetType = method;
27242
+ }
27240
27243
  let sourceType = source_1.Source.runSyntax(source, input, targetType);
27241
27244
  if (sourceType === undefined) {
27242
27245
  if (method instanceof basic_1.VoidType) {
@@ -54895,7 +54898,7 @@ class Registry {
54895
54898
  }
54896
54899
  static abaplintVersion() {
54897
54900
  // magic, see build script "version.sh"
54898
- return "2.113.181";
54901
+ return "2.113.182";
54899
54902
  }
54900
54903
  getDDICReferences() {
54901
54904
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.181",
3
+ "version": "2.113.182",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.181",
41
+ "@abaplint/core": "^2.113.182",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",