@abaplint/core 2.96.0 → 2.96.1

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.
@@ -15,8 +15,10 @@ class MethodDefReturning {
15
15
  if (type === undefined) {
16
16
  throw new Error("method_parameter.ts, unexpected structure");
17
17
  }
18
- const found = new basic_types_1.BasicTypes(filename, scope).parseType(type);
19
- // console.dir(found);
18
+ let found = new basic_types_1.BasicTypes(filename, scope).parseType(type);
19
+ if ((found === null || found === void 0 ? void 0 : found.isGeneric()) === true) {
20
+ found = new basic_1.UnknownType("RETURNING parameter must be fully specified");
21
+ }
20
22
  if (found) {
21
23
  return new _typed_identifier_1.TypedIdentifier(name.getFirstToken(), filename, found, meta);
22
24
  }
@@ -63,7 +63,7 @@ class Registry {
63
63
  }
64
64
  static abaplintVersion() {
65
65
  // magic, see build script "version.sh"
66
- return "2.96.0";
66
+ return "2.96.1";
67
67
  }
68
68
  getDDICReferences() {
69
69
  return this.references;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.96.0",
3
+ "version": "2.96.1",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",