@abaplint/core 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.
@@ -64,22 +64,8 @@ class SelectOption {
64
64
  return;
65
65
  }
66
66
  const nameChain = node.findFirstExpression(Expressions.FieldChain);
67
- let found = new basic_types_1.BasicTypes(input).resolveLikeName(nameChain);
67
+ const found = new basic_types_1.BasicTypes(input).resolveLikeName(nameChain);
68
68
  if (found) {
69
- if (found instanceof basic_1.StructureType) {
70
- let length = 0;
71
- for (const c of found.getComponents()) {
72
- if (c.type instanceof basic_1.CharacterType) {
73
- length += c.type.getLength();
74
- }
75
- }
76
- if (length === 0) {
77
- found = basic_1.VoidType.get("Selectoption, fallback");
78
- }
79
- else {
80
- found = new basic_1.CharacterType(length);
81
- }
82
- }
83
69
  const stru = new basic_1.StructureType([
84
70
  { name: "SIGN", type: new basic_1.CharacterType(1) },
85
71
  { name: "OPTION", type: new basic_1.CharacterType(2) },
@@ -75,7 +75,7 @@ class Registry {
75
75
  }
76
76
  static abaplintVersion() {
77
77
  // magic, see build script "version.js"
78
- return "2.120.38";
78
+ return "2.120.39";
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.38",
3
+ "version": "2.120.39",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",