@abaplint/cli 2.101.34 → 2.101.35

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 +5 -1
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -48465,7 +48465,7 @@ class Registry {
48465
48465
  }
48466
48466
  static abaplintVersion() {
48467
48467
  // magic, see build script "version.sh"
48468
- return "2.101.34";
48468
+ return "2.101.35";
48469
48469
  }
48470
48470
  getDDICReferences() {
48471
48471
  return this.ddicReferences;
@@ -55143,6 +55143,9 @@ ${indentation} output = ${uniqueName}.\n`;
55143
55143
  continue;
55144
55144
  }
55145
55145
  const correspondingBody = s.findDirectExpression(Expressions.CorrespondingBody);
55146
+ if ((correspondingBody === null || correspondingBody === void 0 ? void 0 : correspondingBody.getFirstToken().getStr().toUpperCase()) === "BASE") {
55147
+ continue;
55148
+ }
55146
55149
  const uniqueName = this.uniqueName(firstToken.getStart(), lowFile.getFilename(), highSyntax);
55147
55150
  const indentation = " ".repeat(high.getFirstToken().getStart().getCol() - 1);
55148
55151
  let type = this.findType(s, lowFile, highSyntax);
@@ -67399,6 +67402,7 @@ const edit_helper_1 = __webpack_require__(/*! ../edit_helper */ "./node_modules/
67399
67402
  class UnnecessaryReturnConf extends _basic_rule_config_1.BasicRuleConfig {
67400
67403
  }
67401
67404
  exports.UnnecessaryReturnConf = UnnecessaryReturnConf;
67405
+ // todo: make this rule more intelligent, eg RETURN. ENDTRY. ENDMETHOD.
67402
67406
  class UnnecessaryReturn extends _abap_rule_1.ABAPRule {
67403
67407
  constructor() {
67404
67408
  super(...arguments);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.101.34",
3
+ "version": "2.101.35",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.101.34",
41
+ "@abaplint/core": "^2.101.35",
42
42
  "@types/chai": "^4.3.5",
43
43
  "@types/glob": "^7.2.0",
44
44
  "@types/minimist": "^1.2.2",