@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 (statement.get() instanceof _statement_1.Unknown) {
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)) {
@@ -68,7 +68,7 @@ class Registry {
68
68
  }
69
69
  static abaplintVersion() {
70
70
  // magic, see build script "version.sh"
71
- return "2.85.29";
71
+ return "2.85.30";
72
72
  }
73
73
  getDDICReferences() {
74
74
  return this.references;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.85.29",
3
+ "version": "2.85.30",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",