@abaplint/core 2.95.10 → 2.95.11
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.
|
@@ -12,6 +12,11 @@ class ValueBody {
|
|
|
12
12
|
if (node === undefined) {
|
|
13
13
|
return targetType;
|
|
14
14
|
}
|
|
15
|
+
let letScoped = false;
|
|
16
|
+
const letNode = node.findDirectExpression(Expressions.Let);
|
|
17
|
+
if (letNode) {
|
|
18
|
+
letScoped = new let_1.Let().runSyntax(letNode, scope, filename);
|
|
19
|
+
}
|
|
15
20
|
let forScopes = 0;
|
|
16
21
|
for (const forNode of node.findDirectExpressions(Expressions.For) || []) {
|
|
17
22
|
const scoped = new for_1.For().runSyntax(forNode, scope, filename);
|
|
@@ -19,11 +24,6 @@ class ValueBody {
|
|
|
19
24
|
forScopes++;
|
|
20
25
|
}
|
|
21
26
|
}
|
|
22
|
-
let letScoped = false;
|
|
23
|
-
const letNode = node.findDirectExpression(Expressions.Let);
|
|
24
|
-
if (letNode) {
|
|
25
|
-
letScoped = new let_1.Let().runSyntax(letNode, scope, filename);
|
|
26
|
-
}
|
|
27
27
|
for (const s of node.findDirectExpressions(Expressions.FieldAssignment)) {
|
|
28
28
|
new field_assignment_1.FieldAssignment().runSyntax(s, scope, filename, targetType);
|
|
29
29
|
}
|
package/build/src/registry.js
CHANGED