@abaplint/core 2.113.200 → 2.113.201

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.
@@ -6,7 +6,7 @@ const expressions_1 = require("../expressions");
6
6
  const version_1 = require("../../../version");
7
7
  class Select {
8
8
  getMatcher() {
9
- const union = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)("UNION", (0, combi_1.optPrio)((0, combi_1.altPrio)("DISTINCT", "ALL")), expressions_1.Select));
9
+ const union = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)("UNION", (0, combi_1.optPrio)((0, combi_1.altPrio)("DISTINCT", "ALL")), expressions_1.Select), version_1.Version.OpenABAP);
10
10
  return (0, combi_1.seq)(expressions_1.Select, (0, combi_1.starPrio)(union));
11
11
  }
12
12
  }
@@ -63,6 +63,11 @@ class Append {
63
63
  if (sourceType instanceof basic_1.TableType) {
64
64
  sourceType = sourceType.getRowType();
65
65
  }
66
+ else if (!(sourceType instanceof basic_1.VoidType) && !(sourceType instanceof basic_1.UnknownType)) {
67
+ const message = "LINES OF must be a table type";
68
+ input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
69
+ return;
70
+ }
66
71
  if (targetType instanceof basic_1.TableType) {
67
72
  targetType = targetType.getRowType();
68
73
  }
@@ -15,14 +15,18 @@ exports.SELECTION_EVENTS = [
15
15
  Statements.EndOfPage,
16
16
  ];
17
17
  exports.DECLARATION_STUFF = [
18
+ Statements.Type,
19
+ Statements.TypeBegin,
20
+ Statements.TypeEnum,
21
+ Statements.TypeEnumBegin,
18
22
  Statements.Data,
19
23
  Statements.DataBegin,
20
24
  Statements.Constant,
25
+ Statements.ConstantBegin,
21
26
  Statements.Tables,
22
27
  Statements.Include, // this is not super correct, but anyhow
23
28
  Statements.Parameter,
24
29
  Statements.SelectionScreen,
25
- Statements.ConstantBegin,
26
30
  Statements.Define,
27
31
  ];
28
32
  //# sourceMappingURL=selection_events.js.map
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.200";
70
+ return "2.113.201";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.200",
3
+ "version": "2.113.201",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -50,12 +50,12 @@
50
50
  },
51
51
  "homepage": "https://abaplint.org",
52
52
  "devDependencies": {
53
- "@microsoft/api-extractor": "^7.52.11",
53
+ "@microsoft/api-extractor": "^7.52.13",
54
54
  "@types/chai": "^4.3.20",
55
55
  "@types/mocha": "^10.0.10",
56
- "@types/node": "^24.3.0",
56
+ "@types/node": "^24.4.0",
57
57
  "chai": "^4.5.0",
58
- "eslint": "^9.34.0",
58
+ "eslint": "^9.35.0",
59
59
  "mocha": "^11.7.2",
60
60
  "c8": "^10.1.3",
61
61
  "source-map-support": "^0.5.21",