@abaplint/cli 2.119.1 → 2.119.2

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 +9 -3
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -8638,7 +8638,9 @@ class SQLFunction extends combi_1.Expression {
8638
8638
  const dats_add_months = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)((0, combi_1.regex)(/^dats_add_months$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
8639
8639
  const ltrim = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)((0, combi_1.regex)(/^ltrim$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
8640
8640
  const rtrim = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)((0, combi_1.regex)(/^rtrim$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
8641
- return (0, combi_1.altPrio)(uuid, abs, ceil, floor, cast, div, mod, coalesce, concat, replace, length, lower, upper, round, concat_with_space, ltrim, rtrim, substring, dats_is_valid, dats_days_between, dats_add_days, dats_add_months);
8641
+ const right = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)((0, combi_1.regex)(/^right$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
8642
+ const left = (0, combi_1.ver)(version_1.Version.v751, (0, combi_1.seq)((0, combi_1.regex)(/^left$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
8643
+ return (0, combi_1.altPrio)(uuid, abs, ceil, floor, cast, div, mod, coalesce, concat, replace, length, lower, upper, round, concat_with_space, ltrim, rtrim, right, left, substring, dats_is_valid, dats_days_between, dats_add_days, dats_add_months);
8642
8644
  }
8643
8645
  }
8644
8646
  exports.SQLFunction = SQLFunction;
@@ -24010,7 +24012,11 @@ class TypeUtils {
24010
24012
  }
24011
24013
  }
24012
24014
  else if (source instanceof basic_1.TableType) {
24013
- if (target instanceof basic_1.TableType) {
24015
+ if (source.getRowType() instanceof basic_1.AnyType) {
24016
+ // then its a generic table, todo: add top level generic table type?
24017
+ return true;
24018
+ }
24019
+ else if (target instanceof basic_1.TableType) {
24014
24020
  const sourceKeyType = source.getOptions().keyType;
24015
24021
  const targetKeyType = target.getOptions().keyType;
24016
24022
  if (sourceKeyType !== targetKeyType
@@ -56143,7 +56149,7 @@ class Registry {
56143
56149
  }
56144
56150
  static abaplintVersion() {
56145
56151
  // magic, see build script "version.sh"
56146
- return "2.119.1";
56152
+ return "2.119.2";
56147
56153
  }
56148
56154
  getDDICReferences() {
56149
56155
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.119.1",
3
+ "version": "2.119.2",
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.119.1",
41
+ "@abaplint/core": "^2.119.2",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",