@abaplint/core 2.120.76 → 2.120.77

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.
@@ -74,7 +74,7 @@ const version_1 = require("../../../version");
74
74
  // TODO: refactor all these method parameters to objects, this is getting messy
75
75
  class Source {
76
76
  static runSyntax(node, input, targetType, writeReference = false, allowGenericDeference = false, readReference = true) {
77
- var _a, _b, _c, _d;
77
+ var _a, _b;
78
78
  if (node === undefined) {
79
79
  return undefined;
80
80
  }
@@ -169,13 +169,7 @@ class Source {
169
169
  this.traverseRemainingChildren(children, input);
170
170
  return bodyType;
171
171
  }
172
- const bodySource = (_b = node.findDirectExpression(Expressions.ConvBody)) === null || _b === void 0 ? void 0 : _b.findDirectExpression(Expressions.Source);
173
- const nestedType = (_c = bodySource === null || bodySource === void 0 ? void 0 : bodySource.findDirectExpression(Expressions.TypeNameOrInfer)) === null || _c === void 0 ? void 0 : _c.concatTokens();
174
- // CONV # passes its target type into a nested inferred constructor, so
175
- // showing both inferred types would produce duplicate inlay hints.
176
- if (!(inferred === "#" && nestedType === "#")) {
177
- this.addIfInferred(node, input, foundType);
178
- }
172
+ this.addIfInferred(node, input, foundType);
179
173
  this.traverseRemainingChildren(children, input);
180
174
  return foundType;
181
175
  }
@@ -233,7 +227,7 @@ class Source {
233
227
  {
234
228
  const foundType = this.determineType(node, input, targetType);
235
229
  if ((foundType === null || foundType === void 0 ? void 0 : foundType.isGeneric()) === true
236
- && ((_d = node.findDirectExpression(Expressions.TypeNameOrInfer)) === null || _d === void 0 ? void 0 : _d.concatTokens()) === "#"
230
+ && ((_b = node.findDirectExpression(Expressions.TypeNameOrInfer)) === null || _b === void 0 ? void 0 : _b.concatTokens()) === "#"
237
231
  && !(0, version_1.releaseAtLeast)(input.scope.getRelease(), version_1.Release.v756)
238
232
  && input.scope.getLanguageVersion() !== version_1.LanguageVersion.Cloud
239
233
  && !input.scope.getOpenABAP()) {
@@ -75,7 +75,7 @@ class Registry {
75
75
  }
76
76
  static abaplintVersion() {
77
77
  // magic, see build script "version.js"
78
- return "2.120.76";
78
+ return "2.120.77";
79
79
  }
80
80
  getDDICReferences() {
81
81
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.120.76",
3
+ "version": "2.120.77",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",