@abaplint/runtime 2.5.32 → 2.5.34

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.
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.compareIn = void 0;
4
4
  const cp_1 = require("./cp");
5
5
  const eq_1 = require("./eq");
6
+ const ne_1 = require("./ne");
6
7
  function compareIn(left, right) {
7
8
  if (right.array().length === 0) {
8
9
  return true;
@@ -13,6 +14,11 @@ function compareIn(left, right) {
13
14
  return true;
14
15
  }
15
16
  }
17
+ else if ((0, eq_1.eq)(row.get()["sign"], "E") && (0, eq_1.eq)(row.get()["option"], "EQ")) {
18
+ if ((0, ne_1.ne)(row.get()["low"], left)) {
19
+ return true;
20
+ }
21
+ }
16
22
  else if ((0, eq_1.eq)(row.get()["sign"], "I") && (0, eq_1.eq)(row.get()["option"], "CP")) {
17
23
  if ((0, cp_1.cp)(left, row.get()["low"])) {
18
24
  return true;
@@ -20,7 +26,7 @@ function compareIn(left, right) {
20
26
  }
21
27
  else {
22
28
  console.dir(row);
23
- throw "compareIn todo";
29
+ throw new Error("compareIn todo");
24
30
  }
25
31
  }
26
32
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.5.32",
3
+ "version": "2.5.34",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",