@abaplint/core 2.85.15 → 2.85.16

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.
@@ -68,7 +68,7 @@ class Registry {
68
68
  }
69
69
  static abaplintVersion() {
70
70
  // magic, see build script "version.sh"
71
- return "2.85.15";
71
+ return "2.85.16";
72
72
  }
73
73
  getDDICReferences() {
74
74
  return this.references;
@@ -44,8 +44,12 @@ class SuperclassFinal extends _abap_rule_1.ABAPRule {
44
44
  }
45
45
  let found = undefined;
46
46
  if (localLookup) {
47
- // todo, this should look inside the object instead of the file?
48
- found = file.getInfo().getClassDefinitionByName(sup);
47
+ for (const f of obj.getABAPFiles()) {
48
+ found = f.getInfo().getClassDefinitionByName(sup);
49
+ if (found !== undefined) {
50
+ break;
51
+ }
52
+ }
49
53
  }
50
54
  if (found === undefined) {
51
55
  const clas = this.reg.getObject("CLAS", sup);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.85.15",
3
+ "version": "2.85.16",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",