@abaplint/cli 2.101.5 → 2.101.6

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 +7 -1
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -29846,6 +29846,9 @@ class Raise {
29846
29846
  else {
29847
29847
  throw new Error("RAISE, unknown class " + className);
29848
29848
  }
29849
+ if (method === undefined) {
29850
+ method = new basic_1.VoidType(className);
29851
+ }
29849
29852
  }
29850
29853
  const c = node.findExpressionAfterToken("EXCEPTION");
29851
29854
  if (c instanceof nodes_1.ExpressionNode && (c.get() instanceof Expressions.SimpleSource2 || c.get() instanceof Expressions.Source)) {
@@ -29861,6 +29864,9 @@ class Raise {
29861
29864
  throw new Error("RAISE EXCEPTION, must be object reference, got " + type.constructor.name);
29862
29865
  }
29863
29866
  }
29867
+ if (method === undefined) {
29868
+ method = new basic_1.VoidType("Exception");
29869
+ }
29864
29870
  // check parameters vs constructor
29865
29871
  const param = node.findDirectExpression(Expressions.ParameterListS);
29866
29872
  if (param) {
@@ -48026,7 +48032,7 @@ class Registry {
48026
48032
  }
48027
48033
  static abaplintVersion() {
48028
48034
  // magic, see build script "version.sh"
48029
- return "2.101.5";
48035
+ return "2.101.6";
48030
48036
  }
48031
48037
  getDDICReferences() {
48032
48038
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.101.5",
3
+ "version": "2.101.6",
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.101.5",
41
+ "@abaplint/core": "^2.101.6",
42
42
  "@types/chai": "^4.3.5",
43
43
  "@types/glob": "^7.2.0",
44
44
  "@types/minimist": "^1.2.2",