@abaplint/core 2.85.29 → 2.85.30
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.
|
@@ -103,7 +103,9 @@ class StatementParser {
|
|
|
103
103
|
lazyUnknown(wa) {
|
|
104
104
|
const result = [];
|
|
105
105
|
for (let statement of wa.statements) {
|
|
106
|
-
if
|
|
106
|
+
// dont use CALL METHOD, when executing lazy, it easily gives a Move for the last statment if lazy logic is evaluated
|
|
107
|
+
if (statement.get() instanceof _statement_1.Unknown
|
|
108
|
+
&& statement.concatTokens().toUpperCase().startsWith("CALL METHOD ") === false) {
|
|
107
109
|
for (const { first, second } of this.buildSplits(statement.getTokens())) {
|
|
108
110
|
const s = this.categorizeStatement(new nodes_1.StatementNode(new _statement_1.Unknown()).setChildren(this.tokensToNodes(second)));
|
|
109
111
|
if (!(s.get() instanceof _statement_1.Unknown)) {
|
package/build/src/registry.js
CHANGED