@abaplint/core 2.91.22 → 2.91.23

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.22";
71
+ return "2.91.23";
72
72
  }
73
73
  getDDICReferences() {
74
74
  return this.references;
@@ -340,8 +340,9 @@ Only one transformation is applied to a statement at a time, so multiple steps m
340
340
  const candidates = [high.findAllExpressionsRecursive(Expressions.SQLTarget),
341
341
  high.findAllExpressionsRecursive(Expressions.SQLSource),
342
342
  high.findAllExpressionsRecursive(Expressions.SQLSourceSimple)].flat();
343
- for (const c of candidates) {
344
- if (c.getFirstToken() instanceof tokens_1.WAt) {
343
+ for (const c of candidates.reverse()) {
344
+ if (c.getFirstToken() instanceof tokens_1.WAt
345
+ || c.getFirstToken() instanceof tokens_1.At) {
345
346
  addFix(c.getFirstToken());
346
347
  }
347
348
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.91.22",
3
+ "version": "2.91.23",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",