@abaplint/core 2.113.180 → 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.
@@ -18,7 +18,7 @@ class For extends combi_1.Expression {
18
18
  const t = (0, combi_1.alt)(_1.TargetField, _1.TargetFieldSymbol);
19
19
  const groups = (0, combi_1.ver)(version_1.Version.v740sp08, (0, combi_1.seq)("GROUPS", t, "OF", t, "IN", _1.Source, (0, combi_1.optPrio)(groupBy)));
20
20
  const f = (0, combi_1.seq)("FOR", (0, combi_1.alt)(itera, inn, groups), (0, combi_1.optPrio)(_1.Let));
21
- return (0, combi_1.ver)(version_1.Version.v740sp05, f);
21
+ return (0, combi_1.ver)(version_1.Version.v740sp05, f, version_1.Version.OpenABAP);
22
22
  }
23
23
  }
24
24
  exports.For = For;
@@ -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) {
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.180";
70
+ return "2.113.182";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.180",
3
+ "version": "2.113.182",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "homepage": "https://abaplint.org",
52
52
  "devDependencies": {
53
- "@microsoft/api-extractor": "^7.52.10",
53
+ "@microsoft/api-extractor": "^7.52.11",
54
54
  "@types/chai": "^4.3.20",
55
55
  "@types/mocha": "^10.0.10",
56
56
  "@types/node": "^24.3.0",