@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.
package/build/src/registry.js
CHANGED
|
@@ -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
|
}
|