@abaplint/core 2.101.13 → 2.101.14

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.
@@ -135,7 +135,9 @@ class Source {
135
135
  case "CORRESPONDING":
136
136
  {
137
137
  const foundType = this.determineType(node, scope, filename, targetType);
138
- return new corresponding_body_1.CorrespondingBody().runSyntax(node.findDirectExpression(Expressions.CorrespondingBody), scope, filename, foundType);
138
+ new corresponding_body_1.CorrespondingBody().runSyntax(node.findDirectExpression(Expressions.CorrespondingBody), scope, filename, foundType);
139
+ this.addIfInferred(node, scope, filename, foundType);
140
+ return foundType;
139
141
  }
140
142
  case "EXACT":
141
143
  return this.determineType(node, scope, filename, targetType);
@@ -45,6 +45,7 @@ class ValueBody {
45
45
  }
46
46
  for (const l of foo.findDirectExpressions(Expressions.ValueBodyLines)) {
47
47
  for (const s of l.findDirectExpressions(Expressions.Source)) {
48
+ // LINES OF ?? todo, pass type,
48
49
  new source_1.Source().runSyntax(s, scope, filename);
49
50
  }
50
51
  }
@@ -52,7 +53,7 @@ class ValueBody {
52
53
  new field_assignment_1.FieldAssignment().runSyntax(s, scope, filename, rowType);
53
54
  }
54
55
  for (const s of foo.findDirectExpressions(Expressions.Source)) {
55
- new source_1.Source().runSyntax(s, scope, filename);
56
+ new source_1.Source().runSyntax(s, scope, filename, rowType);
56
57
  }
57
58
  }
58
59
  if (letScoped === true) {
@@ -44,9 +44,9 @@ class InsertInternal {
44
44
  }
45
45
  }
46
46
  for (const s of node.findDirectExpressions(Expressions.Source)) {
47
- new source_1.Source().runSyntax(s, scope, filename, targetType);
48
- }
49
- for (const s of node.findDirectExpressions(Expressions.SimpleSource4)) {
47
+ if (s === source) {
48
+ continue;
49
+ }
50
50
  new source_1.Source().runSyntax(s, scope, filename, targetType);
51
51
  }
52
52
  }
@@ -65,7 +65,7 @@ class Registry {
65
65
  }
66
66
  static abaplintVersion() {
67
67
  // magic, see build script "version.sh"
68
- return "2.101.13";
68
+ return "2.101.14";
69
69
  }
70
70
  getDDICReferences() {
71
71
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.101.13",
3
+ "version": "2.101.14",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -61,7 +61,7 @@
61
61
  "typescript": "^5.1.3"
62
62
  },
63
63
  "dependencies": {
64
- "fast-xml-parser": "^4.2.3",
64
+ "fast-xml-parser": "^4.2.4",
65
65
  "json5": "^2.2.3",
66
66
  "vscode-languageserver-types": "^3.17.3"
67
67
  }