@abaplint/cli 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.
- package/build/cli.js +12 -1
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -28061,6 +28061,7 @@ const sql_order_by_1 = __webpack_require__(/*! ./sql_order_by */ "./node_modules
|
|
|
28061
28061
|
const dynamic_1 = __webpack_require__(/*! ./dynamic */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/dynamic.js");
|
|
28062
28062
|
const _reference_1 = __webpack_require__(/*! ../_reference */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/_reference.js");
|
|
28063
28063
|
const _syntax_input_1 = __webpack_require__(/*! ../_syntax_input */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/_syntax_input.js");
|
|
28064
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
28064
28065
|
const isSimple = /^\w+$/;
|
|
28065
28066
|
class Select {
|
|
28066
28067
|
static runSyntax(node, input, skipImplicitInto = false) {
|
|
@@ -28312,6 +28313,16 @@ class Select {
|
|
|
28312
28313
|
if (field) {
|
|
28313
28314
|
return field;
|
|
28314
28315
|
}
|
|
28316
|
+
else if (fields[0].code === "COUNT(*)") {
|
|
28317
|
+
if (scope.getVersion() >= version_1.Version.v750
|
|
28318
|
+
|| scope.getVersion() === version_1.Version.OpenABAP
|
|
28319
|
+
|| scope.getVersion() === version_1.Version.Cloud) {
|
|
28320
|
+
return new basic_1.Integer8Type();
|
|
28321
|
+
}
|
|
28322
|
+
else {
|
|
28323
|
+
return basic_1.IntegerType.get();
|
|
28324
|
+
}
|
|
28325
|
+
}
|
|
28315
28326
|
else {
|
|
28316
28327
|
// todo: aggregated/calculated values
|
|
28317
28328
|
return basic_1.VoidType.get("SELECT_todo11");
|
|
@@ -55299,7 +55310,7 @@ class Registry {
|
|
|
55299
55310
|
}
|
|
55300
55311
|
static abaplintVersion() {
|
|
55301
55312
|
// magic, see build script "version.sh"
|
|
55302
|
-
return "2.115.
|
|
55313
|
+
return "2.115.10";
|
|
55303
55314
|
}
|
|
55304
55315
|
getDDICReferences() {
|
|
55305
55316
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.115.
|
|
3
|
+
"version": "2.115.10",
|
|
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.115.
|
|
41
|
+
"@abaplint/core": "^2.115.10",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|