@abaplint/core 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.
@@ -33,6 +33,9 @@ class Raise {
33
33
  else {
34
34
  throw new Error("RAISE, unknown class " + className);
35
35
  }
36
+ if (method === undefined) {
37
+ method = new basic_1.VoidType(className);
38
+ }
36
39
  }
37
40
  const c = node.findExpressionAfterToken("EXCEPTION");
38
41
  if (c instanceof nodes_1.ExpressionNode && (c.get() instanceof Expressions.SimpleSource2 || c.get() instanceof Expressions.Source)) {
@@ -48,6 +51,9 @@ class Raise {
48
51
  throw new Error("RAISE EXCEPTION, must be object reference, got " + type.constructor.name);
49
52
  }
50
53
  }
54
+ if (method === undefined) {
55
+ method = new basic_1.VoidType("Exception");
56
+ }
51
57
  // check parameters vs constructor
52
58
  const param = node.findDirectExpression(Expressions.ParameterListS);
53
59
  if (param) {
@@ -65,7 +65,7 @@ class Registry {
65
65
  }
66
66
  static abaplintVersion() {
67
67
  // magic, see build script "version.sh"
68
- return "2.101.5";
68
+ return "2.101.6";
69
69
  }
70
70
  getDDICReferences() {
71
71
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.101.5",
3
+ "version": "2.101.6",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",