@abaplint/core 2.115.9 → 2.115.10

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.
@@ -14,6 +14,7 @@ const sql_order_by_1 = require("./sql_order_by");
14
14
  const dynamic_1 = require("./dynamic");
15
15
  const _reference_1 = require("../_reference");
16
16
  const _syntax_input_1 = require("../_syntax_input");
17
+ const version_1 = require("../../../version");
17
18
  const isSimple = /^\w+$/;
18
19
  class Select {
19
20
  static runSyntax(node, input, skipImplicitInto = false) {
@@ -265,6 +266,16 @@ class Select {
265
266
  if (field) {
266
267
  return field;
267
268
  }
269
+ else if (fields[0].code === "COUNT(*)") {
270
+ if (scope.getVersion() >= version_1.Version.v750
271
+ || scope.getVersion() === version_1.Version.OpenABAP
272
+ || scope.getVersion() === version_1.Version.Cloud) {
273
+ return new basic_1.Integer8Type();
274
+ }
275
+ else {
276
+ return basic_1.IntegerType.get();
277
+ }
278
+ }
268
279
  else {
269
280
  // todo: aggregated/calculated values
270
281
  return basic_1.VoidType.get("SELECT_todo11");
@@ -74,7 +74,7 @@ class Registry {
74
74
  }
75
75
  static abaplintVersion() {
76
76
  // magic, see build script "version.sh"
77
- return "2.115.9";
77
+ return "2.115.10";
78
78
  }
79
79
  getDDICReferences() {
80
80
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.115.9",
3
+ "version": "2.115.10",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",