@abaplint/cli 2.115.12 → 2.115.14

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.
Files changed (2) hide show
  1. package/build/cli.js +6 -2
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -10012,13 +10012,14 @@ class StatementParser {
10012
10012
  lazyUnknown(wa) {
10013
10013
  const result = [];
10014
10014
  for (let statement of wa.statements) {
10015
- // dont use CALL METHOD, when executing lazy, it easily gives a Move for the last statment if lazy logic is evaluated
10015
+ // dont use CALL METHOD, when executing lazy, it easily gives a Move for the last statement if lazy logic is evaluated
10016
10016
  if (statement.get() instanceof _statement_1.Unknown) {
10017
10017
  const concat = statement.concatTokens().toUpperCase();
10018
10018
  if (concat.startsWith("CALL METHOD ") === false
10019
10019
  && concat.startsWith("RAISE EXCEPTION TYPE ") === false
10020
10020
  && concat.startsWith("READ TABLE ") === false
10021
10021
  && concat.startsWith("LOOP AT ") === false
10022
+ && concat.startsWith("SELECT SINGLE ") === false
10022
10023
  && concat.startsWith("CALL FUNCTION ") === false) {
10023
10024
  for (const { first, second } of this.buildSplits(statement.getTokens())) {
10024
10025
  if (second.length === 1) {
@@ -28725,6 +28726,9 @@ class Source {
28725
28726
  if (context instanceof basic_1.FloatType && found instanceof basic_1.IntegerType) {
28726
28727
  return context;
28727
28728
  }
28729
+ else if (context instanceof basic_1.IntegerType && (found === null || found === void 0 ? void 0 : found.isGeneric())) {
28730
+ return context;
28731
+ }
28728
28732
  else {
28729
28733
  return found;
28730
28734
  }
@@ -55331,7 +55335,7 @@ class Registry {
55331
55335
  }
55332
55336
  static abaplintVersion() {
55333
55337
  // magic, see build script "version.sh"
55334
- return "2.115.12";
55338
+ return "2.115.14";
55335
55339
  }
55336
55340
  getDDICReferences() {
55337
55341
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.115.12",
3
+ "version": "2.115.14",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.115.12",
41
+ "@abaplint/core": "^2.115.14",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",