@abaplint/core 2.97.6 → 2.97.7

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.
@@ -56,7 +56,7 @@ class CreateObject {
56
56
  }
57
57
  else if (found instanceof basic_1.ObjectReferenceType) {
58
58
  const id = found.getIdentifier();
59
- if (id instanceof types_1.InterfaceDefinition && cdef === undefined) {
59
+ if (id instanceof types_1.InterfaceDefinition && type === undefined) {
60
60
  throw new Error("Interface reference, cannot be instantiated");
61
61
  }
62
62
  else if (id instanceof types_1.ClassDefinition && cdef === undefined) {
@@ -63,7 +63,7 @@ class Registry {
63
63
  }
64
64
  static abaplintVersion() {
65
65
  // magic, see build script "version.sh"
66
- return "2.97.6";
66
+ return "2.97.7";
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.97.6",
3
+ "version": "2.97.7",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",