@abaplint/core 2.113.155 → 2.113.157

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.
@@ -122,15 +122,16 @@ class Source {
122
122
  }
123
123
  case "REF":
124
124
  {
125
- const foundType = this.determineType(node, input, targetType);
125
+ let foundType = this.determineType(node, input, targetType);
126
126
  const s = Source.runSyntax(node.findDirectExpression(Expressions.Source), input);
127
127
  if (foundType === undefined && s) {
128
- return new basic_1.DataReference(s);
128
+ foundType = new basic_1.DataReference(s);
129
129
  }
130
130
  else if (foundType) {
131
- return new basic_1.DataReference(foundType);
131
+ foundType = new basic_1.DataReference(foundType);
132
132
  }
133
- return undefined;
133
+ this.addIfInferred(node, input, foundType);
134
+ return foundType;
134
135
  }
135
136
  case "FILTER":
136
137
  {
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.155";
70
+ return "2.113.157";
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.155",
3
+ "version": "2.113.157",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -53,9 +53,9 @@
53
53
  "@microsoft/api-extractor": "^7.52.10",
54
54
  "@types/chai": "^4.3.20",
55
55
  "@types/mocha": "^10.0.10",
56
- "@types/node": "^24.2.0",
56
+ "@types/node": "^24.2.1",
57
57
  "chai": "^4.5.0",
58
- "eslint": "^9.32.0",
58
+ "eslint": "^9.33.0",
59
59
  "mocha": "^11.7.1",
60
60
  "c8": "^10.1.3",
61
61
  "source-map-support": "^0.5.21",