@abaplint/cli 2.120.79 → 2.120.80

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 +27 -25
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -25288,28 +25288,28 @@ BuiltIn.methods = {
25288
25288
  "ABS": {
25289
25289
  counter: BuiltIn.counter++,
25290
25290
  mandatory: {
25291
- "val": new basic_1.FloatType(),
25291
+ "val": new basic_1.NumericGenericType(),
25292
25292
  },
25293
25293
  return: basic_1.IntegerType.get(),
25294
25294
  },
25295
25295
  "ACOS": {
25296
25296
  counter: BuiltIn.counter++,
25297
25297
  mandatory: {
25298
- "val": new basic_1.FloatType(),
25298
+ "val": new basic_1.NumericGenericType(),
25299
25299
  },
25300
25300
  return: new basic_1.FloatType(),
25301
25301
  },
25302
25302
  "ASIN": {
25303
25303
  counter: BuiltIn.counter++,
25304
25304
  mandatory: {
25305
- "val": new basic_1.FloatType(),
25305
+ "val": new basic_1.NumericGenericType(),
25306
25306
  },
25307
25307
  return: new basic_1.FloatType(),
25308
25308
  },
25309
25309
  "ATAN": {
25310
25310
  counter: BuiltIn.counter++,
25311
25311
  mandatory: {
25312
- "val": new basic_1.FloatType(),
25312
+ "val": new basic_1.NumericGenericType(),
25313
25313
  },
25314
25314
  return: new basic_1.FloatType(),
25315
25315
  },
@@ -25343,7 +25343,7 @@ BuiltIn.methods = {
25343
25343
  "CEIL": {
25344
25344
  counter: BuiltIn.counter++,
25345
25345
  mandatory: {
25346
- "val": new basic_1.FloatType(),
25346
+ "val": new basic_1.NumericGenericType(),
25347
25347
  },
25348
25348
  return: basic_1.IntegerType.get(),
25349
25349
  },
@@ -25480,14 +25480,14 @@ BuiltIn.methods = {
25480
25480
  "COS": {
25481
25481
  counter: BuiltIn.counter++,
25482
25482
  mandatory: {
25483
- "val": new basic_1.FloatType(),
25483
+ "val": new basic_1.NumericGenericType(),
25484
25484
  },
25485
25485
  return: new basic_1.FloatType(),
25486
25486
  },
25487
25487
  "COSH": {
25488
25488
  counter: BuiltIn.counter++,
25489
25489
  mandatory: {
25490
- "val": new basic_1.FloatType(),
25490
+ "val": new basic_1.NumericGenericType(),
25491
25491
  },
25492
25492
  return: new basic_1.FloatType(),
25493
25493
  },
@@ -25567,7 +25567,7 @@ BuiltIn.methods = {
25567
25567
  "EXP": {
25568
25568
  counter: BuiltIn.counter++,
25569
25569
  mandatory: {
25570
- "val": new basic_1.FloatType(),
25570
+ "val": new basic_1.NumericGenericType(),
25571
25571
  },
25572
25572
  return: new basic_1.FloatType(),
25573
25573
  },
@@ -25636,14 +25636,14 @@ BuiltIn.methods = {
25636
25636
  "FLOOR": {
25637
25637
  counter: BuiltIn.counter++,
25638
25638
  mandatory: {
25639
- "val": new basic_1.FloatType(),
25639
+ "val": new basic_1.NumericGenericType(),
25640
25640
  },
25641
25641
  return: basic_1.IntegerType.get(),
25642
25642
  },
25643
25643
  "FRAC": {
25644
25644
  counter: BuiltIn.counter++,
25645
25645
  mandatory: {
25646
- "val": new basic_1.FloatType(),
25646
+ "val": new basic_1.NumericGenericType(),
25647
25647
  },
25648
25648
  return: basic_1.IntegerType.get(),
25649
25649
  },
@@ -25675,8 +25675,8 @@ BuiltIn.methods = {
25675
25675
  "IPOW": {
25676
25676
  counter: BuiltIn.counter++,
25677
25677
  mandatory: {
25678
- "base": new basic_1.FloatType(),
25679
- "exp": new basic_1.FloatType(),
25678
+ "base": new basic_1.NumericGenericType(),
25679
+ "exp": new basic_1.NumericGenericType(),
25680
25680
  },
25681
25681
  return: basic_1.IntegerType.get(),
25682
25682
  release: version_1.Release.v740sp02,
@@ -25708,14 +25708,14 @@ BuiltIn.methods = {
25708
25708
  "LOG": {
25709
25709
  counter: BuiltIn.counter++,
25710
25710
  mandatory: {
25711
- "val": new basic_1.FloatType(),
25711
+ "val": new basic_1.NumericGenericType(),
25712
25712
  },
25713
25713
  return: new basic_1.FloatType(),
25714
25714
  },
25715
25715
  "LOG10": {
25716
25716
  counter: BuiltIn.counter++,
25717
25717
  mandatory: {
25718
- "val": new basic_1.FloatType(),
25718
+ "val": new basic_1.NumericGenericType(),
25719
25719
  },
25720
25720
  return: new basic_1.FloatType(),
25721
25721
  },
@@ -25821,7 +25821,7 @@ BuiltIn.methods = {
25821
25821
  "RESCALE": {
25822
25822
  counter: BuiltIn.counter++,
25823
25823
  mandatory: {
25824
- "val": new basic_1.FloatType(),
25824
+ "val": new basic_1.NumericGenericType(),
25825
25825
  },
25826
25826
  optional: {
25827
25827
  "dec": basic_1.IntegerType.get(),
@@ -25842,7 +25842,7 @@ BuiltIn.methods = {
25842
25842
  "ROUND": {
25843
25843
  counter: BuiltIn.counter++,
25844
25844
  mandatory: {
25845
- "val": new basic_1.FloatType(),
25845
+ "val": new basic_1.NumericGenericType(),
25846
25846
  },
25847
25847
  optional: {
25848
25848
  "dec": basic_1.IntegerType.get(),
@@ -25894,28 +25894,28 @@ BuiltIn.methods = {
25894
25894
  "SIGN": {
25895
25895
  counter: BuiltIn.counter++,
25896
25896
  mandatory: {
25897
- "val": new basic_1.FloatType(),
25897
+ "val": new basic_1.NumericGenericType(),
25898
25898
  },
25899
25899
  return: basic_1.IntegerType.get(),
25900
25900
  },
25901
25901
  "SIN": {
25902
25902
  counter: BuiltIn.counter++,
25903
25903
  mandatory: {
25904
- "val": new basic_1.FloatType(),
25904
+ "val": new basic_1.NumericGenericType(),
25905
25905
  },
25906
25906
  return: new basic_1.FloatType(),
25907
25907
  },
25908
25908
  "SINH": {
25909
25909
  counter: BuiltIn.counter++,
25910
25910
  mandatory: {
25911
- "val": new basic_1.FloatType(),
25911
+ "val": new basic_1.NumericGenericType(),
25912
25912
  },
25913
25913
  return: new basic_1.FloatType(),
25914
25914
  },
25915
25915
  "SQRT": {
25916
25916
  counter: BuiltIn.counter++,
25917
25917
  mandatory: {
25918
- "val": new basic_1.FloatType(),
25918
+ "val": new basic_1.NumericGenericType(),
25919
25919
  },
25920
25920
  return: new basic_1.FloatType(),
25921
25921
  },
@@ -26005,14 +26005,14 @@ BuiltIn.methods = {
26005
26005
  "TAN": {
26006
26006
  counter: BuiltIn.counter++,
26007
26007
  mandatory: {
26008
- "val": new basic_1.FloatType(),
26008
+ "val": new basic_1.NumericGenericType(),
26009
26009
  },
26010
26010
  return: new basic_1.FloatType(),
26011
26011
  },
26012
26012
  "TANH": {
26013
26013
  counter: BuiltIn.counter++,
26014
26014
  mandatory: {
26015
- "val": new basic_1.FloatType(),
26015
+ "val": new basic_1.NumericGenericType(),
26016
26016
  },
26017
26017
  return: new basic_1.FloatType(),
26018
26018
  },
@@ -26056,7 +26056,7 @@ BuiltIn.methods = {
26056
26056
  "TRUNC": {
26057
26057
  counter: BuiltIn.counter++,
26058
26058
  mandatory: {
26059
- "val": new basic_1.FloatType(),
26059
+ "val": new basic_1.NumericGenericType(),
26060
26060
  },
26061
26061
  return: basic_1.IntegerType.get(),
26062
26062
  },
@@ -28270,7 +28270,9 @@ class TypeUtils {
28270
28270
  return false;
28271
28271
  }
28272
28272
  else if (source instanceof basic_1.Integer8Type) {
28273
- if (target instanceof basic_1.IntegerType || target instanceof basic_1.StringType) {
28273
+ if (target instanceof basic_1.IntegerType
28274
+ || target instanceof basic_1.StringType
28275
+ || target instanceof basic_1.FloatType) {
28274
28276
  return false;
28275
28277
  }
28276
28278
  }
@@ -71507,7 +71509,7 @@ class Registry {
71507
71509
  }
71508
71510
  static abaplintVersion() {
71509
71511
  // magic, see build script "version.js"
71510
- return "2.120.79";
71512
+ return "2.120.80";
71511
71513
  }
71512
71514
  getDDICReferences() {
71513
71515
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.120.79",
3
+ "version": "2.120.80",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "homepage": "https://abaplint.org",
41
41
  "devDependencies": {
42
- "@abaplint/core": "^2.120.79",
42
+ "@abaplint/core": "^2.120.80",
43
43
  "@types/chai": "^4.3.20",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.10",