@abaplint/cli 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.
Files changed (2) hide show
  1. package/build/cli.js +4 -10
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -35478,7 +35478,7 @@ const version_1 = __webpack_require__(/*! ../../../version */ "../core/build/src
35478
35478
  // TODO: refactor all these method parameters to objects, this is getting messy
35479
35479
  class Source {
35480
35480
  static runSyntax(node, input, targetType, writeReference = false, allowGenericDeference = false, readReference = true) {
35481
- var _a, _b, _c, _d;
35481
+ var _a, _b;
35482
35482
  if (node === undefined) {
35483
35483
  return undefined;
35484
35484
  }
@@ -35573,13 +35573,7 @@ class Source {
35573
35573
  this.traverseRemainingChildren(children, input);
35574
35574
  return bodyType;
35575
35575
  }
35576
- const bodySource = (_b = node.findDirectExpression(Expressions.ConvBody)) === null || _b === void 0 ? void 0 : _b.findDirectExpression(Expressions.Source);
35577
- const nestedType = (_c = bodySource === null || bodySource === void 0 ? void 0 : bodySource.findDirectExpression(Expressions.TypeNameOrInfer)) === null || _c === void 0 ? void 0 : _c.concatTokens();
35578
- // CONV # passes its target type into a nested inferred constructor, so
35579
- // showing both inferred types would produce duplicate inlay hints.
35580
- if (!(inferred === "#" && nestedType === "#")) {
35581
- this.addIfInferred(node, input, foundType);
35582
- }
35576
+ this.addIfInferred(node, input, foundType);
35583
35577
  this.traverseRemainingChildren(children, input);
35584
35578
  return foundType;
35585
35579
  }
@@ -35637,7 +35631,7 @@ class Source {
35637
35631
  {
35638
35632
  const foundType = this.determineType(node, input, targetType);
35639
35633
  if ((foundType === null || foundType === void 0 ? void 0 : foundType.isGeneric()) === true
35640
- && ((_d = node.findDirectExpression(Expressions.TypeNameOrInfer)) === null || _d === void 0 ? void 0 : _d.concatTokens()) === "#"
35634
+ && ((_b = node.findDirectExpression(Expressions.TypeNameOrInfer)) === null || _b === void 0 ? void 0 : _b.concatTokens()) === "#"
35641
35635
  && !(0, version_1.releaseAtLeast)(input.scope.getRelease(), version_1.Release.v756)
35642
35636
  && input.scope.getLanguageVersion() !== version_1.LanguageVersion.Cloud
35643
35637
  && !input.scope.getOpenABAP()) {
@@ -71379,7 +71373,7 @@ class Registry {
71379
71373
  }
71380
71374
  static abaplintVersion() {
71381
71375
  // magic, see build script "version.js"
71382
- return "2.120.76";
71376
+ return "2.120.77";
71383
71377
  }
71384
71378
  getDDICReferences() {
71385
71379
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.120.76",
3
+ "version": "2.120.77",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "homepage": "https://abaplint.org",
41
41
  "devDependencies": {
42
- "@abaplint/core": "^2.120.76",
42
+ "@abaplint/core": "^2.120.77",
43
43
  "@types/chai": "^4.3.20",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.10",