@abaplint/transpiler 2.5.59 → 2.5.60
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.
|
@@ -55,7 +55,6 @@ class ReadTableTranspiler {
|
|
|
55
55
|
const withKeyValue = [];
|
|
56
56
|
const withKeySimple = [];
|
|
57
57
|
const count = compare.getChildren().length / 3;
|
|
58
|
-
let skipSimple = false;
|
|
59
58
|
let usesTableLine = false;
|
|
60
59
|
for (let i = 0; i < count; i++) {
|
|
61
60
|
const left = compare.getChildren()[i * 3];
|
|
@@ -70,11 +69,7 @@ class ReadTableTranspiler {
|
|
|
70
69
|
else {
|
|
71
70
|
field = traversal.traverse(left).getCode();
|
|
72
71
|
}
|
|
73
|
-
if (field.includes(".")) {
|
|
74
|
-
skipSimple = true;
|
|
75
|
-
}
|
|
76
72
|
if (field === "table_line") {
|
|
77
|
-
skipSimple = true;
|
|
78
73
|
usesTableLine = true;
|
|
79
74
|
}
|
|
80
75
|
if (s.includes("await")) {
|
|
@@ -93,9 +88,7 @@ class ReadTableTranspiler {
|
|
|
93
88
|
extra.push("withKey: (i) => {return " + withKey.join(" && ") + ";}");
|
|
94
89
|
extra.push(`withKeyValue: [${withKeyValue.join(",")}]`);
|
|
95
90
|
extra.push(`usesTableLine: ${usesTableLine}`);
|
|
96
|
-
|
|
97
|
-
extra.push(`withKeySimple: {${withKeySimple.join(",")}}`);
|
|
98
|
-
}
|
|
91
|
+
extra.push(`withKeySimple: {${withKeySimple.join(",")}}`);
|
|
99
92
|
}
|
|
100
93
|
let concat = "";
|
|
101
94
|
if (extra.length > 0) {
|