@abaplint/runtime 1.8.38 → 1.8.39

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.
@@ -16,7 +16,7 @@ function cs(left, right) {
16
16
  else {
17
17
  r = right.get().toString();
18
18
  }
19
- const index = r.indexOf(l);
19
+ const index = l.indexOf(r);
20
20
  if (index < 0) {
21
21
  // @ts-ignore
22
22
  abap.builtin.sy.get().fdpos.set(l.length);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "1.8.38",
3
+ "version": "1.8.39",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",