@abaplint/cli 2.120.38 → 2.120.39

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 +2 -16
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -45133,22 +45133,8 @@ class SelectOption {
45133
45133
  return;
45134
45134
  }
45135
45135
  const nameChain = node.findFirstExpression(Expressions.FieldChain);
45136
- let found = new basic_types_1.BasicTypes(input).resolveLikeName(nameChain);
45136
+ const found = new basic_types_1.BasicTypes(input).resolveLikeName(nameChain);
45137
45137
  if (found) {
45138
- if (found instanceof basic_1.StructureType) {
45139
- let length = 0;
45140
- for (const c of found.getComponents()) {
45141
- if (c.type instanceof basic_1.CharacterType) {
45142
- length += c.type.getLength();
45143
- }
45144
- }
45145
- if (length === 0) {
45146
- found = basic_1.VoidType.get("Selectoption, fallback");
45147
- }
45148
- else {
45149
- found = new basic_1.CharacterType(length);
45150
- }
45151
- }
45152
45138
  const stru = new basic_1.StructureType([
45153
45139
  { name: "SIGN", type: new basic_1.CharacterType(1) },
45154
45140
  { name: "OPTION", type: new basic_1.CharacterType(2) },
@@ -70152,7 +70138,7 @@ class Registry {
70152
70138
  }
70153
70139
  static abaplintVersion() {
70154
70140
  // magic, see build script "version.js"
70155
- return "2.120.38";
70141
+ return "2.120.39";
70156
70142
  }
70157
70143
  getDDICReferences() {
70158
70144
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.120.38",
3
+ "version": "2.120.39",
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.38",
42
+ "@abaplint/core": "^2.120.39",
43
43
  "@types/chai": "^4.3.20",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.10",