@abaplint/core 2.91.13 → 2.91.14

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.91.13";
71
+ return "2.91.14";
72
72
  }
73
73
  getDDICReferences() {
74
74
  return this.references;
@@ -846,7 +846,8 @@ ${indentation}RAISE EXCEPTION ${uniqueName2}.`;
846
846
  downportRef(high, lowFile, highSyntax) {
847
847
  let found = undefined;
848
848
  for (const s of high.findAllExpressionsRecursive(Expressions.Source)) {
849
- if (s.getFirstToken().getStr().toUpperCase() === "REF") {
849
+ if (s.getFirstToken().getStr().toUpperCase() === "REF"
850
+ && s.findDirectExpression(Expressions.TypeNameOrInfer)) {
850
851
  found = s;
851
852
  }
852
853
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.91.13",
3
+ "version": "2.91.14",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",