@abaplint/cli 2.120.22 → 2.120.23

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 +5 -2
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -27635,6 +27635,9 @@ class TypeUtils {
27635
27635
  && (target instanceof basic_1.XStringType || target instanceof basic_1.XSequenceType)) {
27636
27636
  return false;
27637
27637
  }
27638
+ if (calculated && source instanceof basic_1.IntegerType && target instanceof basic_1.DateType) {
27639
+ return false;
27640
+ }
27638
27641
  if (target instanceof basic_1.NumericType
27639
27642
  && (source instanceof basic_1.CharacterType || source instanceof basic_1.StringType)
27640
27643
  && ((_a = source.getAbstractTypeData()) === null || _a === void 0 ? void 0 : _a.derivedFromConstant) === true) {
@@ -42404,7 +42407,7 @@ class MethodImplementation {
42404
42407
  return;
42405
42408
  }
42406
42409
  const start = node.getFirstToken().getStart();
42407
- if ((methodDefinition === null || methodDefinition === void 0 ? void 0 : methodDefinition.isStatic()) === false) {
42410
+ if ((methodDefinition === null || methodDefinition === void 0 ? void 0 : methodDefinition.isStatic()) === false || methodDefinition === undefined) {
42408
42411
  input.scope.push(_scope_type_1.ScopeType.MethodInstance, methodName, start, input.filename);
42409
42412
  input.scope.addList(classDefinition.getAttributes().getInstance());
42410
42413
  }
@@ -69668,7 +69671,7 @@ class Registry {
69668
69671
  }
69669
69672
  static abaplintVersion() {
69670
69673
  // magic, see build script "version.js"
69671
- return "2.120.22";
69674
+ return "2.120.23";
69672
69675
  }
69673
69676
  getDDICReferences() {
69674
69677
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.120.22",
3
+ "version": "2.120.23",
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.22",
42
+ "@abaplint/core": "^2.120.23",
43
43
  "@types/chai": "^4.3.20",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.10",